{"name":"multibase","version":"4.0.2","description":"JavaScript implementation of the multibase specification","keywords":["IPFS","multiformats","multibase","encode","decode","formats"],"homepage":"https://github.com/multiformats/js-multibase#readme","bugs":{"url":"https://github.com/multiformats/js-multibase/issues"},"license":"MIT","leadMaintainer":"Hugo Dias <hugomrdias@gmail.com>","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/multiformats/js-multibase.git"},"scripts":{"prepare":"aegir build --no-bundle","lint":"aegir lint","test":"aegir test","test:node":"aegir test -t node","test:browser":"aegir test -t browser","release":"aegir release","release-minor":"aegir release --type minor","release-major":"aegir release --type major"},"dependencies":{"@multiformats/base-x":"^4.0.1","web-encoding":"^1.1.0"},"devDependencies":{"aegir":"^31.0.0","benchmark":"^2.1.4"},"engines":{"node":">=12.0.0","npm":">=6.0.0"},"eslintConfig":{"extends":"ipfs"},"types":"dist/src/index.d.ts","contributors":[{"name":"Hugo Dias","email":"hugomrdias@gmail.com"},{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Oli Evans","email":"oli@tableflip.io"},{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"Volker Mische","email":"volker.mische@gmail.com"},{"name":"Alan Shaw","email":"alan.shaw@protocol.ai"},{"name":"Alex Potsides","email":"alex@achingbrain.net"},{"name":"Irakli Gozalishvili","email":"contact@gozala.io"},{"name":"victorbjelkholm","email":"victorbjelkholm@gmail.com"},{"name":"theobat","email":"theophile.batoz@gmail.com"},{"name":"Bora M. Alper","email":"boramalper@gmail.com"},{"name":"Carson Farmer","email":"carson.farmer@gmail.com"},{"name":"Henrique Dias","email":"hacdias@gmail.com"},{"name":"Kyle Maas","email":"kylemaasdev@gmail.com"},{"name":"Richard Littauer","email":"richard.littauer@gmail.com"}],"gitHead":"27fc9233742ec8674bad14ddb4452bc78e56c3fb","_id":"multibase@4.0.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-l0XMK4O5I9cCfxC0/UMDX/UxlIlrqkjEZQNG+ZUUrsGhnXWgFXgatYOQSONiR/lQGfBO463UyZkh3SiQBpjRIQ==","shasum":"8250a0f50d0ed49765146bf0e3431e3df9b249ac","tarball":"http://registry-npm.ywwl.com/multibase/download/multibase-4.0.2.tgz","fileCount":21,"unpackedSize":33370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgP3JzCRA9TVsSAnZWagAAP2YP/jIt0oVpGtJ9DNhENO/7\nJcpwp9rrIbKbnZs+GZG6M4fewsb01rHR6XX/PSOJk3ng2y4ci56yJnVKQ/9F\nUJ/Gw7K2Myg1DgQsmdNK3S1nKmyBUWuUVwkSy951lp/783EmimeGtpPLn+gD\nHFRVNnskGtsDqAn+9unb68xICL+cziSwP3R76I5XxgmFsPHyQLMb5oMzeKap\nZ+e7YTwmgviadX628sGSapZ5H5xKB6+6V7niAw4e+8n1fIkZw2QHUrFt3R9e\nTXSQb+L3UNxIgn41bOJTFEWKvmLSSbgrzguWAlOZzat490H0b65y+voC3nDk\naCkFV2ehQcyM+pg25NHGy5tC7pf7DYr8IoKSxxOR8oZCRE1FYts+OjyjYv/V\nAXTxErZwRGnBuZEeObgn5SO5c8df4S6lwLv5TrCETJ3/EoakrUGBhJ42HWVG\nR6Wz5X2bfAWccTBIu1pQraYm/TiLgkCfiX9/RG+qd1s44T8VWZ4e4YoKJEcF\n8RDgpKPxBdhB9ltc6qJC7v8iLcWHnPBpz+KknjMhrRGTPpuHv0f+B4kldJTA\n8EpbDUdaqj8T7idZokk07eFu+KeSTO3b34d3MiQKeV6Ocn7WiBRIIHxD4TqE\n8wGlC4FsEYPBW47DeDhbPGOtmTyCkJxg4RqhJd8NcMRTD0qCsYtZt5jMjIVJ\nU8G4\r\n=XS7J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBpuLrp4IpfOzYARfrlHZ2Du64e/G9D9Jd1o0dWYK8o6AiEA97UGlSfGQauLh8EoSZ1TtWFw8bz1VvyuKUalS4yNdVM="}],"size":9275,"noattachment":false,"key":"/multibase/-/multibase-4.0.2.tgz"},"_npmUser":{"name":"hugomrdias","email":"hugomrdias@gmail.com"},"directories":{},"maintainers":[{"name":"vmx","email":"volker.mische@gmail.com"},{"name":"daviddias","email":"mail@daviddias.me"},{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},{"name":"olizilla","email":"oli@tableflip.io"},{"name":"hugomrdias","email":"hugomrdias@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multibase_4.0.2_1614770803224_0.5234850845219781"},"_hasShrinkwrap":false,"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":1614770803383,"_cnpm_publish_time":1614770803383,"dist-tags":{"latest":"4.0.6","next":"3.0.2-rc.0"}}