{"name":"multicodec","version":"1.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"},"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":{"buffer":"^5.5.0","varint":"^5.0.0"},"devDependencies":{"aegir":"^21.3.0","bent":"^7.0.4","chai":"^4.2.0","dirty-chai":"^2.0.1","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":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ","email":"victorbjelkholm@gmail.com"},{"name":"Filip Š","email":"filip.stamcar@hotmail.com"},{"name":"Hugo Dias","email":"hugomrdias@gmail.com"},{"name":"Marcin Rataj","email":"lidel@lidel.org"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"Carson Farmer","email":"carson.farmer@gmail.com"}],"gitHead":"9302197ad9e4c050f15086bde56e1ee7f4104659","_id":"multicodec@1.0.1","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-yrrU/K8zHyAH2B0slNVeq3AiwluflHpgQ3TAzwNJcuO2AoPyXgBT2EDkdbP1D8B/yFOY+S2hDYmFlI1vhVFkQw==","shasum":"4e2812d726b9f7c7d615d3ebc5787d36a08680f9","tarball":"http://registry-npm.ywwl.com/multicodec/download/multicodec-1.0.1.tgz","fileCount":19,"unpackedSize":338449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb6UuCRA9TVsSAnZWagAASb0P/1a8OhkrbqYAGJ3i83o1\nD/h8ZNL+KKcsylcNjskgHoWsuvY2KYDT1t8fl/g8Hshj+W72Pf7tjqNvQrTS\n+5eTzPk3Mr6scDi8NePBfpOYUHa19sedMai5eYmA044JX1czGuOOyw/6Af3y\nK3a0XYWmxO24Ni7OEgj+xh2rFfaroL2rp9y5+kFP8h18oeLfgpyck9v4FqiJ\n7/4zXWiCyLT0MyKytGmsgdWjvWeKzVqb8dAH6pqeWweZiLMDArd+isCTqCKM\nJCZ5aNW5qrbJqNsfM/b/1iEkhNbw+A0RR1v8TTitxzMsChrQMiDCyE/Kv0qF\nXinbrBRLtsIKxCSxCIRGMVeIS3q+6pPcx6ZiAyPLgDOc+53ilczOlYARnHm0\nb1Lk5iCTpIlKjRIexDFbAc+z0ooNK2+VWXGnrc5R7zJ2oMzG6AffzzVk7UiX\nwWRMSOh43+8DrkC+J1vau1RCq3caq2kC95nP41o0vFTG71ZMZeMMePrtaaEj\nrJF+qGtUoCMF6gMjyYCfReviF8JGUyo+ctGTpKr63pmiNkDeEcfqa7X6pcj+\n2yVW+JTGBv4BBdNZB9Bv2nRi3TtjB34MmX8Ndmu9NpsX2SdHVI4zRizVKmRW\n5kMWEfdkCDQ2m450Zl2y2HXNV0zK/ty8+zkDCL0ItDQNSLZERSsMjvfpC1+m\nHa0s\r\n=VSom\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2HdFpoITjNgq0WBR5FZfS3pqTExAqRdKg7qrD5dFrgQIgD1ZAqKCm/LKToiNiJw+o3SGILRble9FzWHDCzxrGhFE="}],"size":87151,"noattachment":false,"key":"/multicodec/-/multicodec-1.0.1.tgz"},"maintainers":[{"email":"mail@daviddias.me","name":"daviddias"},{"email":"hacdias@gmail.com","name":"hacdias"},{"email":"volker.mische@gmail.com","name":"vmx"}],"_npmUser":{"name":"hacdias","email":"hacdias@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multicodec_1.0.1_1584375085830_0.488395792094261"},"_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":1584375086013,"_cnpm_publish_time":1584375086013,"dist-tags":{"latest":"3.2.1"}}