Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 788 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 788 Bytes

CodeQL Node.js Package

Base58-check encoding library

A modern base58-check encoding library implemented in TypeScript with minimal dependencies for use in browser and Node.js.

Example

import { encode, decode } from '@web3pack/base58-check';

const message = Buffer.from('hello world');

const encodedText = encode(message);
// => '3vQB7B6MrGQZaxCuFg4oh'

const decodedText = decode(encodedText).toString();
// => 'hello world'