# base58-native

> An Implementation of Base58 and Base58Check encoding using bignum library.

Latest version **0.1.4** (published 2014-05-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install base58-native
pnpm add base58-native
yarn add base58-native
bun add base58-native
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2014-05-24 |
| First published | 2013-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Satoshi Nakamoto |
| Maintainers | gasteve |
| Keywords | base58, base58check, base64, encoding |

## Links

- npm: https://www.npmjs.com/package/base58-native
- Repository: http://github.com/gasteve/node-base58
- Homepage: https://github.com/gasteve/node-base58
- Issues: https://github.com/gasteve/node-base58/issues
- npm.io page: https://npm.io/package/base58-native

## Dependencies (1)

- [bignum](https://npm.io/package/bignum.md) >=0.6.1

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 0.1.4 (latest) — 2014-05-24
- 0.1.3 — 2013-08-24
- 0.1.2 — 2013-07-27
- 0.1.1 — 2013-07-18
- 0.1.0 — 2013-07-05

## 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 the bignum library (which is a native module and uses the
openssl bignumber library functions).

NOTE: earlier versions of this package used native C code instead of bignum, but
it was found to be unstable in a production environment (likely due to bugs in the
C code).  This version uses bignum and appears to be very stable, but slower.  The
C version of this package is still available on the "native-module" branch.  A few
additional methods added to bignum would probably bring the speed of this version 
on part with with C version.  

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'));

---
_Source: https://npm.io/package/base58-native · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
