{"name":"multicodec","version":"2.0.1","description":"JavaScript implementation of the multicodec specification","leadMaintainer":"Henrique Dias <hacdias@gmail.com>","main":"src/index.js","scripts":{"lint":"aegir lint","test":"aegir test","test:node":"aegir test --target node","test:browser":"aegir test --target browser","build":"aegir build","docs":"aegir docs","release":"aegir release","release-minor":"aegir release --type minor","release-major":"aegir release --type major","coverage":"aegir coverage","coverage-publish":"aegir coverage --provider coveralls","update-table":"node tools/update-table.js"},"pre-push":["lint","test"],"repository":{"type":"git","url":"git+https://github.com/multiformats/js-multicodec.git"},"keywords":["IPFS","multiformats","multicodec","binary","packed","the","data!"],"license":"MIT","bugs":{"url":"https://github.com/multiformats/js-multicodec/issues"},"homepage":"https://github.com/multiformats/js-multicodec#readme","dependencies":{"uint8arrays":"1.0.0","varint":"^5.0.0"},"devDependencies":{"aegir":"^23.0.0","bent":"^7.3.9","pre-push":"~0.1.1"},"contributors":[{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Henrique Dias","email":"hacdias@gmail.com"},{"name":"Volker Mische","email":"volker.mische@gmail.com"},{"name":"Mikeal Rogers","email":"mikeal.rogers@gmail.com"},{"name":"Richard Littauer","email":"richard.littauer@gmail.com"},{"name":"wanderer","email":"mjbecze@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"Rod Vagg","email":"rod@vagg.org"},{"name":"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ","email":"victorbjelkholm@gmail.com"},{"name":"Filip Š","email":"filip.stamcar@hotmail.com"},{"name":"Hugo Dias","email":"hugomrdias@gmail.com"},{"name":"Joel Thorstensson","email":"oed@3box.io"},{"name":"Jonas Kruckenberg","email":"iterpre@protonmail.com"},{"name":"Marcin Rataj","email":"lidel@lidel.org"},{"name":"Vasco Santos","email":"vasco.santos@moxy.studio"},{"name":"Carson Farmer","email":"carson.farmer@gmail.com"}],"gitHead":"6df7719cb9172674010a0c16efe0914b183a768e","_id":"multicodec@2.0.1","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-YDYeWn9iGa76hOHAyyZa0kbt3tr5FLg1ZXUHrZUJltjnxxdbTIbHnxWLd2zTcMOjdT3QyO+Xs4bQgJUcC2RWUA==","shasum":"0971bbef83fcb354315c837c9a3f3e2e422af371","tarball":"http://registry-npm.ywwl.com/multicodec/download/multicodec-2.0.1.tgz","fileCount":16,"unpackedSize":75871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVkiiCRA9TVsSAnZWagAAVBcP/29sb/w3uk9TDKAvH89z\nY6ZYReCu/5dt9o07SUJhLnPJvew6YeLu79p7vvvRTu8/D+m/3BoxurQ9cgyU\nfV7J5GYtxPm58UlmMpaCg0QOMeHXX5MHfq7id0RGO9vm+YhWmcnLpZyqz0oD\nx4an5TLE9M2LKL3D0zsTzzFs8RPZQX3JvQhsOZagpG+Is5gF9PjPAwQ/o+W/\n1+yaeRyNF1p2QEk9xvToauv6XxDVZAZ44J/WJ/bv5A0D13iWJnbeVwJYax+u\nbv0p1roP1Q+Vzg8zg5qYRkIWQjg1UABrZHT3U+Cb377sKX+1PWl8NxUc0p8G\nceZheBGdymSE1lg9BNYPAw9Lqc5cOA0DgUQgxkXW5fyd44bbASywaGksYSHT\nqpXcZ4jAdiMT0tj+OT3znIO94WSML50JWisYPJcc/Bwmmb/YqKNaE3sPQ46I\ngaBM9I8488GhHQdDC1YOVc9La1MpoL+xOZeYHOaCwsnPKfAj1WhFX3B9aogF\nrMzWHj9vZXt1O2bdnIAh0wIKGCTeciglyGzsyEiF6mm7xBtB5VnJjt1c9p3t\nPr0Umn1e0TgCNxuQJpVPNbOZYaM47DfV61V3BmdQVaz2UUm1/trhLxU5tmhX\nbfeu/3ebJeA6X5iG9QA9w9VZGd48wZC2aFcJc7EdM/ENWxQjBFW/JQBOnt/3\noL+8\r\n=jtWz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbDMvfugGFZDcISzNGkYt9qs+0yaj3ox16B8MegbGMpQIgIsJ6STpYtwMb89Gdwl1Wb7T07bD1YfBV74BFYSyDx0c="}],"size":23634,"noattachment":false,"key":"/multicodec/-/multicodec-2.0.1.tgz"},"maintainers":[{"name":"hugomrdias","email":"mail@hugodias.me"},{"name":"mikeal","email":"mikeal.rogers@gmail.com"},{"name":"vmx","email":"volker.mische@gmail.com"},{"name":"daviddias","email":"mail@daviddias.me"},{"name":"hacdias","email":"hacdias@gmail.com"}],"_npmUser":{"name":"hacdias","email":"hacdias@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multicodec_2.0.1_1599490210383_0.9626803889825282"},"_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\n# js-multicodec <!-- omit in toc -->\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[![](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/multiformats/js-multicodec/ci/master?style=flat-square)\n![Codecov](https://img.shields.io/codecov/c/github/multiformats/js-multicodec?style=flat-square)\n\n> JavaScript implementation of the multicodec specification\n\n## Lead Maintainer <!-- omit in toc -->\n\n[Henrique Dias](http://github.com/hacdias)\n\n## Table of Contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Usage](#usage)\n  - [Example](#example)\n  - [API](#api)\n- [Updating the lookup table](#updating-the-lookup-table)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\n```sh\n> npm install multicodec\n```\n\n## Usage\n\n### Example\n\n```JavaScript\n\nconst multicodec = require('multicodec')\n\nconst prefixedProtobuf = multicodec.addPrefix('protobuf', protobufBuffer)\n// prefixedProtobuf 0x50...\n\n// The multicodec codec values can be accessed directly:\nconsole.log(multicodec.DAG_CBOR)\n// 113\n\n// To get the string representation of a codec, e.g. for error messages:\nconsole.log(multicodec.getNameFromCode(113))\n// dag-cbor\n```\n\n### API\n\nhttps://multiformats.github.io/js-multicodec/\n\n[multicodec default table](https://github.com/multiformats/multicodec/blob/master/table.csv)\n\n## Updating the lookup table\n\nUpdating the lookup table is done with a script. The source of truth is the\n[multicodec default table](https://github.com/multiformats/multicodec/blob/master/table.csv).\nUpdate the table with running:\n\n    npm run update-table\n\n## Contribute\n\nContributions welcome. Please check out [the issues](https://github.com/multiformats/js-multicodec/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) © 2016 Protocol Labs Inc.\n","publish_time":1599490210488,"_cnpm_publish_time":1599490210488,"dist-tags":{"latest":"3.2.1"}}