npm install base58checkbase58check
===========

JavaScript component to compute base 58 check encoding. This encoding is typically used for crypto currencies such as Bitcoin.
Install
-------
npm i --save base58check
API
---
data must be a Buffer or a string. It returns a string.
example:
``js
const base58check = require('base58check')
const data = '086eaa677895f92d4a6c5ef740c168932b5e3f44'
console.log(base58check.encode(data)) // => 1mayif3H2JDC62S4N3rLNtBNRAiUUP99k
`
string must be a base 58 check encoded string. Returns a Object for prefix & data.
example:
`js
const base58check = require('base58check')
const address = '1mayif3H2JDC62S4N3rLNtBNRAiUUP99k'
console.log(base58check.decode(address))
// => { prefix:
// if using encoding
console.log(base58check.decode(address, 'hex'))
// => { prefix: '00', data: '086eaa677895f92d4a6c5ef740c168932b5e3f44' }
`
Hack / Test
-----------
Uses JavaScript standard style. Read more:

Credits
-------
- unrealce for original JavaScript implementation
Related
-------
- bs58` - JavaScript component to compute base 58 encoding. This encoding is typically used for crypto currencies such as Bitcoin.
License
-------
The MIT License (MIT)
Copyright (c) 2016