{"name":"multicodec","version":"0.5.3","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":{"varint":"^5.0.0"},"devDependencies":{"aegir":"^18.2.2","chai":"^4.2.0","pre-push":"~0.1.1","dirty-chai":"^2.0.1"},"contributors":[{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"Henrique Dias","email":"hacdias@gmail.com"},{"name":"Marcin Rataj","email":"lidel@lidel.org"},{"name":"Richard Littauer","email":"richard.littauer@gmail.com"},{"name":"Volker Mische","email":"volker.mische@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"kumavis","email":"kumavis@users.noreply.github.com"},{"name":"kumavis","email":"aaron@kumavis.me"},{"name":"wanderer","email":"mjbecze@gmail.com"},{"name":"Łukasz Magiera","email":"magik6k@users.noreply.github.com"},{"name":"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ","email":"victorbjelkholm@gmail.com"}],"gitHead":"3abad8dc08f17a02c41b41d35e77025267836bab","_id":"multicodec@0.5.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"hacdias","email":"hacdias@gmail.com"},"dist":{"integrity":"sha512-TUId9mavSh7q4ui5nUYiC0U10XVrMhsoMLPoG6nAAaFt2GKqZKK3aB2AeFk58aqEnLhmTSdRkmNrlty4jjOxzg==","shasum":"b1ef71a55d0698c9b2d89585f66e4b081f33c20c","tarball":"http://registry-npm.ywwl.com/multicodec/download/multicodec-0.5.3.tgz","fileCount":18,"unpackedSize":604269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7Tc7CRA9TVsSAnZWagAAR/QP/A/08UtZtetRNqnrPEx1\nw20+kQiWEjMg/LAHhj+kq5EBVnorkTSJLHXRDaizxmNGq6DVPAkQA5g4FS4R\nKIAnUv21rT4ZYSRBWikQG0DSPTqM50s/3Yh6Xv5syekBspn5ivSYjHGspnbW\n9rtP4ZCY9PG57+xXTIajH0JCf/HWLlWSlpkWA/hdnHIFL6gKLXcSxDiHHHfx\neDTdd6NF1H79E1O+E/mblKl4EEG/gKNQuVwMSTIylU2/4tfbY2EW/2k7oc/o\n4vTgsRx1fWwbFwncHcNLNRYMhNNS0LSED0gx7MT+hP/DdcP/2TJJfdPKX1UT\nubj3GUlTlmEq1sB0w3UxdFltxIr7+mnXD0w62p7kCf2oX1fmpOJkxETWq7m1\n38wPuI4WxvozT20HSkRa3m10DxEBoRC7m800UltvT2/+3xTG0tgas3L2nal7\nkvMi9hkluIWKZhBU6C7vfG9rRvnh0E5soHCnFXzYozcD+uqL7NxX0UtJMBIe\n5DCiPEyH5ZMC3CGZbpu7gqbZUx0n4xTo3Lt0oUEYFlgdhghzewTQcRIFQSQ4\nVKjeQUxshnBGPxeLmjQwn3gnaJMAN8GZnAECucjT+8RR1yceLuXw2Zn9D93F\nMi7FDIiQ/ZUmbU6hGdKzZys0pfoYXtdPqgvA4tOlyMyarPcVecxrsCuhWIAR\ngWok\r\n=ifcU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQComM57zf1c16oT4rVd3EasGmVhOVtkrGeI/22lHXuwcwIhAONH5lGWa0Wou7ndg1bXdqJaHpXTSN5n2gKI3De1xYrp"}],"size":129376,"noattachment":false,"key":"/multicodec/-/multicodec-0.5.3.tgz"},"maintainers":[{"email":"mail@daviddias.me","name":"daviddias"},{"email":"hacdias@gmail.com","name":"hacdias"},{"email":"volker.mische@gmail.com","name":"vmx"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multicodec_0.5.3_1559050042856_0.2551633760138572"},"_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":1559050042984,"_cnpm_publish_time":1559050042984,"dist-tags":{"latest":"3.2.1"}}