This package has been deprecated

Author message:

This module has been superseded by the multiformats module

multibase
TypeScript icon, indicating that this package has built-in type declarations

4.0.6 • Public • Published

⛔️ DEPRECATED: This module has been superseded by the multiformats module

js-multibase

pl project irc codecov GitHub Workflow Status

JavaScript implementation of the multibase specification

Lead Maintainer

Hugo Dias

Table of Contents

Install

NPM

$ npm install --save multibase

Browser through <script> tag

Loading this module through a script tag will make the Multibase obj available in the global namespace.

<script src="https://unpkg.com/multibase/dist/index.min.js"></script>

Usage

Example

const multibase = require('multibase')

const bytes = multibase.encode('base58btc', new TextEncoder().encode('hey, how is it going'))

const decodedBytes = multibase.decode(bytes)
console.log(decodedBytes.toString())
// hey, how is it going

API

https://multiformats.github.io/js-multibase/

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © Protocol Labs Inc.

Package Sidebar

Install

npm i multibase

Weekly Downloads

621,356

Version

4.0.6

License

MIT

Unpacked Size

32.7 kB

Total Files

21

Last publish

Collaborators

  • achingbrain
  • daviddias
  • dignifiedquire
  • hugomrdias
  • olizilla
  • vmx