
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Very simple extension to hi-base32 to encode/decode using URL-safe characters. Same idea of Base64URL, thus Base32URL.
Use this command to install:
npm install base32url
You could use like this:
If you use node.js, you should require the module first:
const Base32URL = require('base32url');
or import it
import * as Base32URL from 'base32url';
And then just call the functions when needed:
Base32URL.encode('String to encode');
Base32URL.decode([]]);
Encode string or bytes to base32url, set asciiOnly to true for better performace if it is.
String
, Array
, Uint8Array
or ArrayBuffer
Input string or bytes to encode.
Decode Base32URL string and return a byte array
String
Base32URL string to decode.
Decode Base32URL string and return a string
String
Base32URL string to decode.
FAQs
Base32 with URL-safe alphabet (thus Base32URL)
The npm package base32url receives a total of 90 weekly downloads. As such, base32url popularity was classified as not popular.
We found that base32url 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.