JSPM

base58-native

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 260
  • Score
    100M100P100Q92209F
  • License MIT

An Implementation of Base58 and Base58Check encoding using openssl bignumber library.

Package Exports

  • base58-native

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (base58-native) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

base58

An implementation of Base58 and Base58Check encodings for nodejs. Note, the implementation of Base58Check differs slightly from that described on Wikipedia in that it does not prepend a version byte onto the data being encoded. This implementation uses a native module and big numbers from openssl.

Installation

npm install base58-native

Usage

var base58 = require('base58-native');
base58.encode(base58.decode('mqqa8xSMVDyf9QxihGnPtap6Mh6qemUkcu'));

var base58Check = require('base58-native').base58Check;
base58Check.encode(base58Check.decode('mqqa8xSMVDyf9QxihGnPtap6Mh6qemUkcu'));