{"name":"multibase","version":"0.3.1","description":"JavaScript implementation of the multibase specification","main":"src/index.js","scripts":{"test:node":"aegir-test node","lint":"aegir-lint","test:browser":"aegir-test browser","build":"aegir-build","test":"aegir-test","docs":"aegir-docs","release":"aegir-release --docs","release-minor":"aegir-release --type minor --docs","release-major":"aegir-release --type major --docs","coverage":"aegir-coverage","coverage-publish":"aegir-coverage publish"},"pre-commit":["lint","test"],"repository":{"type":"git","url":"git+https://github.com/multiformats/js-multibase.git"},"keywords":["IPFS","multiformats","multibase","encode","decode","formats"],"devDependencies":{"aegir":"^10.0.0","chai":"^3.5.0","pre-commit":"^1.2.2"},"author":{"name":"David Dias","email":"daviddias@ipfs.io"},"license":"MIT","bugs":{"url":"https://github.com/multiformats/js-multibase/issues"},"homepage":"https://github.com/multiformats/js-multibase#readme","dependencies":{"base-x":"2.0.4"},"contributors":[{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"Richard Littauer","email":"richard.littauer@gmail.com"},{"name":"greenkeeper[bot]","email":"greenkeeper[bot]@users.noreply.github.com"},{"name":"npm-to-cdn-bot","email":"npmcdn-to-unpkg-bot@users.noreply.github.com","url":"by Forbes Lindesay"},{"name":"theobat","email":"theophile.batoz@gmail.com"}],"gitHead":"175aa2a329f824d0bbe1526144966ac2b8672731","_id":"multibase@0.3.1","_shasum":"3f13568cab71be11dfedb55786b1836fd7f8a399","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"daviddias","email":"daviddias.p@gmail.com"},"dist":{"shasum":"3f13568cab71be11dfedb55786b1836fd7f8a399","tarball":"http://registry-npm.ywwl.com/multibase/download/multibase-0.3.1.tgz","integrity":"sha512-jAeqLXvT7kZwcLbD0hMoCEgvioiauy/AwO7TlbEfkLOhWt5kDev7u1s17/R7H3Yo3djwsFx+CH1siDMmlSg99w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWeZICYPQk2K6XvEpAsbOD7juatbe4fLl4v57tpzWAjgIhAOj3SGjBlHy2YBa29r/aMBhQlc9muriE9TQz/6hxJB+x"}],"size":48032,"noattachment":false,"key":"/multibase/-/multibase-0.3.1.tgz"},"maintainers":[{"name":"daviddias","email":"daviddias.p@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/multibase-0.3.1.tgz_1486655263800_0.44610939803533256"},"directories":{},"deprecated":"This module has been superseded by the multiformats module","readme":"⛔️ DEPRECATED: This module has been superseded by the [multiformats](https://github.com/multiformats/js-multiformats) module <!-- omit in toc -->\n\njs-multibase <!-- omit in toc -->\n============\n\n[![pl](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)\n[![project](https://img.shields.io/badge/project-multiformats-blue.svg?style=flat-square)](https://github.com/multiformats/multiformats)\n[![irc](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](https://webchat.freenode.net/?channels=%23ipfs)\n[![codecov](https://img.shields.io/codecov/c/github/multiformats/js-multibase.svg?style=flat-square)](https://codecov.io/gh/multiformats/js-multibase)\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/multiformats/js-multibase/ci?label=ci&style=flat-square)](https://github.com/multiformats/js-multibase/actions?query=branch%3Amaster+workflow%3Aci+)\n\n> JavaScript implementation of the [multibase](https://github.com/multiformats/multibase) specification\n\n## Lead Maintainer <!-- omit in toc -->\n\n[Hugo Dias](https://github.com/hugomrdias)\n\n## Table of Contents <!-- omit in toc -->\n\n- [Install](#install)\n  - [NPM](#npm)\n  - [Browser through `<script>` tag](#browser-through-script-tag)\n- [Usage](#usage)\n  - [Example](#example)\n- [API](#api)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\n### NPM\n\n```sh\n$ npm install --save multibase\n```\n\n### Browser through `<script>` tag\n\nLoading this module through a script tag will make the `Multibase` obj available in the global namespace.\n\n```html\n<script src=\"https://unpkg.com/multibase/dist/index.min.js\"></script>\n```\n\n## Usage\n\n### Example\n\n```JavaScript\nconst multibase = require('multibase')\n\nconst bytes = multibase.encode('base58btc', new TextEncoder().encode('hey, how is it going'))\n\nconst decodedBytes = multibase.decode(bytes)\nconsole.log(decodedBytes.toString())\n// hey, how is it going\n```\n\n## API\nhttps://multiformats.github.io/js-multibase/\n\n## Contribute\n\nContributions welcome. Please check out [the issues](https://github.com/multiformats/js-multibase/issues).\n\nCheck out our [contributing document](https://github.com/multiformats/multiformats/blob/master/contributing.md) 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](https://github.com/ipfs/community/blob/master/code-of-conduct.md).\n\nSmall note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n## License\n\n[MIT](LICENSE) © Protocol Labs Inc.\n","publish_time":1486655265899,"_cnpm_publish_time":1486655265899,"dist-tags":{"latest":"4.0.6","next":"3.0.2-rc.0"}}