{"name":"multibase","version":"3.0.2-rc.0","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":{"lint":"aegir lint","test":"aegir test","test:node":"aegir test -t node","test:browser":"aegir test -t browser","build":"aegir build","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"},"dependencies":{"@multiformats/base-x":"^4.0.1","web-encoding":"^1.0.4"},"devDependencies":{"aegir":"github:ipfs/aegir#feat/ts-cmd","benchmark":"^2.1.4"},"engines":{"node":">=10.0.0","npm":">=6.0.0"},"eslintConfig":{"extends":"ipfs"},"types":"./dist/src/index.d.ts","typesVersions":{"*":{"src/*":["dist/src/*"]}},"contributors":[{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Hugo Dias","email":"hugomrdias@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":"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ","email":"victorbjelkholm@gmail.com"},{"name":"Richard Littauer","email":"richard.littauer@gmail.com"},{"name":"theobat","email":"theophile.batoz@gmail.com"},{"name":"Henrique Dias","email":"hacdias@gmail.com"},{"name":"Carson Farmer","email":"carson.farmer@gmail.com"},{"name":"Bora M. Alper","email":"boramalper@gmail.com"}],"readme":"js-multibase <!-- omit in toc -->\n============\n\n[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)\n[![](https://img.shields.io/badge/project-multiformats-blue.svg?style=flat-square)](https://github.com/multiformats/multiformats)\n[![](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","readmeFilename":"README.md","gitHead":"d8266ec195fc33d5f852d0a319ca38ec5334f715","_id":"multibase@3.0.2-rc.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-SHWklynYqcn7gq1LVW4gHIiIBbxxi/M5vTJoylP/IGsRn03cqQQD85mHgDDpAWin/q5N1WPloavLAMjy/bk46g==","shasum":"7c9d5d7c213ce2da3b8a6aa8c3490a3247114cb8","tarball":"http://registry-npm.ywwl.com/multibase/download/multibase-3.0.2-rc.0.tgz","fileCount":24,"unpackedSize":87051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftUsyCRA9TVsSAnZWagAARwMQAJFkHt8bW2aam6XEOLJz\nqwtQOalXhfEV2xBAM28bPRE/szuXr+XuzsluJEMe9B5Z8IOzVlCNRrOS/4QC\nEti0UvvX6ACKFHRvSPw1xulQ+T/+iRU7SJwvhVgLFjTZ4iA+89qrdZnLafvZ\nAsjVqQl53dt9TZBFk+P5UDvktQ2Q9mFLbIAt+4SlnodStEBrLQaVF2qMLzoC\nuU/V7L4mnYYNGTJjNLMOZmPlIVlSbX4hl9GOKj5iywuqIxqcIcqFoXJN0lQ3\nfEuPaQPFUKUj9cx9wuWNRC2pLBRoXERPDpJiRWZMkytE0H82Kqnm0impF5Fa\nLhjdvon4CNoWnwuNkbWJyZOUYkHyZ4ugQu++Cnx89z5umTrA/78tLhLPbZ09\nqlvNwULKKgu9Hzwc1tHlJS0PPcH+br7oSs/y8MxWXHPMjn7bU+vh9Y911U3b\nxOcA9Sv3fSq3oBmIiAxK7+wpn5sLrWwGFg6NESwSmKmDC5Ey7IxIUPbA+cLz\n4yofYtVqe2lo3ajcMDrtEZ8k1x+Wb2VQm3XgOSjiQPWnHxwDIfoKt4YiJheF\n1q+7vgYD3K5CrkXSp+3cSjtBzuxVXGF9K9Rf+1n7DHteUcfkEBTl8omrPOFr\nG5EudZGzlDl9oq/+s0CJ7b5tW7TA1ZpUAZKkkVmz4FUEXx5lXzmYm7WmcngF\nUl9D\r\n=et60\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3HzUmQI3bYkn8bXhsh2K6b187NLqqHE0JJ2xTlViujAiEA4VQAR8PXAaahrC5Ovs8YHQZs0mbMfBFSS8LtM8haEqw="}],"size":19520,"noattachment":false,"key":"/multibase/-/multibase-3.0.2-rc.0.tgz"},"_npmUser":{"name":"hugomrdias","email":"mail@hugodias.me"},"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":"mail@hugodias.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multibase_3.0.2-rc.0_1605716785772_0.3007011780725459"},"_hasShrinkwrap":false,"deprecated":"This module has been superseded by the multiformats module","publish_time":1605716785915,"_cnpm_publish_time":1605716785915,"dist-tags":{"latest":"4.0.6","next":"3.0.2-rc.0"}}