
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
A lightweight (~560 bytes) universal JavaScript Base58 encoder and decoder.
Install base58-js
via npm:
npm install base58-js
Supported environments:
^16
|| >=17.0.0
.> 0.5%, not OperaMini all, not dead
.Convert Base58 to binary
import { base58_to_binary } from "base58-js";
const bin = base58_to_binary("6MRy");
console.log(bin);
Logged output will be Uint8Array(3) [15, 239, 64].
Convert binary to base58
import { binary_to_base58 } from "base58-js";
const str = binary_to_base58([15, 239, 64]);
console.log(str);
The logged output was Thequickbrownfoxjumpedoverthea1zydog.
Deep imports from the ECMAScript modules are exported via the package.json
field exports
:
This package includes type definitions via TypeScript JSDoc for excellent IntelliSense and type checking.
3.0.3
Fixed Corrected TypeScript declaration files (.d.ts) to export functions properly without importing .d.ts files directly.
Updated index.d.ts to re-export named functions from implementation .js files, ensuring compatibility with TypeScript's module resolution and eliminating errors like TS2846 and TS1362.
Changed Improved package.json exports and types fields to explicitly map .js files to their corresponding .d.ts typings for better editor support and module resolution.
Enhanced README with detailed usage examples, environment requirements, export info, TypeScript support, and a clear explanation of tree-shaking implications.
This fixes the issue described in #4.
FAQs
A light weight universal JavaScript base58 encoder / decoder.
The npm package base58-js receives a total of 100,197 weekly downloads. As such, base58-js popularity was classified as popular.
We found that base58-js demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.