npm.io
0.0.3 • Published 7 years ago

base58-string

Licence
MIT
Version
0.0.3
Deps
0
Size
9 kB
Vulns
0
Weekly
0

base58-string

What?

base58 encode decode without buffer;
input string out string;
suport browser;
use utf-8;
因为是UTF-8编码,所以支持中文;

Installation

npm install base58-string

CDN

<!-- import JavaScript -->
<script src="https://unpkg.com/base58-string/index.cdn.js"></script>

Usage

const Bs = require('base58-string');
Bs.encode('base58'); // 'qzTiEHgB'
Bs.decode('qzTiEHgB'); // 'base58'

License

Released under the MIT license. Copyright (c) 2018 fadeneo.