
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Library to encode/decode strings or binary data in base32. Note: This library uses the RFC 4648 Base32 alphabet.
npm install base-32
const base32 = require('base-32').default;
const str = 'Encode this string';
base32.encode(str);
IVXGG33EMUQHI2DJOMQHG5DSNFXGO===
const buf = new Buffer('this is a tést');
base32.encode(buf);
ORUGS4ZANFZSAYJAOTB2S43U
const encodedString = 'ORSXG5DJNZTQ====';
base32.decode(encodedString);
testing
String
Encodes a string or binary data in base32.
Param | Type |
---|---|
input | String | Buffer |
String
Decodes data encoded in base32.
Param | Type |
---|---|
input | String | Buffer |
FAQs
Library to encode/decode strings or binary data in base32.
The npm package base-32 receives a total of 860 weekly downloads. As such, base-32 popularity was classified as not popular.
We found that base-32 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.