{"_id":"libp2p-peer-id","_rev":"1-2f20d6de8ee4d9182210b251c0f11560","name":"libp2p-peer-id","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"libp2p-peer-id","version":"0.2.0","description":"IPFS Peer Id implementation in Node.js","type":"module","types":"./dist/src/index.d.ts","exports":{".":{"import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"scripts":{"pretest":"npm run build","test":"aegir test -f ./dist/test/*.js","test:browser":"aegir test -t browser -f ./dist/test/*.js","test:node":"aegir test -t node -f ./dist/test/*.js","test:electron":"aegir test -t electron-main -f ./dist/test/*.js","lint":"aegir ts -p check && aegir lint","release":"aegir release --docs","release-minor":"aegir release --target node --type minor --docs","release-major":"aegir release --type major --docs","build":"tsc","dep-check":"aegir dep-check dist/src/**/*.js dist/test/**/*.js"},"keywords":["IPFS"],"license":"MIT","engines":{"node":">=15.0.0"},"repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-peer-id#readme","devDependencies":{"aegir":"^36.0.1"},"dependencies":{"libp2p-interfaces":"^2.0.2","multiformats":"^9.4.5","uint8arrays":"^3.0.0"},"gitHead":"befb411101eae7eb3711405cec0c1b74a2487e33","_id":"libp2p-peer-id@0.2.0","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-m/ybZBu2vsb4M+JKTR5ZCvOvuYJmalmBRCkixiDr7V2hwQPMxi901xlbQx56mbpH3M0i8WzZ+3caagQqxa+0Zg==","shasum":"eb33cb726c767956462c31750cb0e5344e6f5262","tarball":"https://registry.npmjs.org/libp2p-peer-id/-/libp2p-peer-id-0.2.0.tgz","fileCount":8,"unpackedSize":22971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0VzECRA9TVsSAnZWagAABE4P/2B9ox1rnkot8Z+jEa5c\nEc8xZ0fnETVgk4EVydR85l7ycGRHewawQb21RPxOkG7WHHuofhBQS1i0fbyo\nb7zCJS/+G04dbiB5ecTs7Yd3B6FCOXanLxDeSdl4ZRHsl4Kb7zpmzJzSZp5E\nIsiJ2u0JmErMIeSzUgac6vWYMCWqYYIuK1D0hT53dCgsb1KdvgUopfwRiWy0\nbkQ64XFe/IykyM8lXYfs7Zj3jDsLcCA5uA+G7rZ3mg0KAYY+SOf+lJyOHhKd\nX+tscfmuOqw4FvSZRgj4JWpoYWvHuEO4M4MTPMGj1/+yXWqYPzAe951mGKwa\nzS2a29/lTARyIkefSD2nqpGmOhw7wqIspBCcIkkVGwUySVPLHDr1zUHNDxpL\nAPNRu/Y4wnbpvInlSNpWy3BfsbWxIdBWyJLSLOl8u7saDzjcO0UCTzHsW/nL\n2akstqi2OiTrtiUIQm55WmRuZUsQpyQMAvFRw5xO0UOawXvdGKvUHQaS9Bn1\nealhG8Ai6T7j7Ss5Mb8HvK4RD4k3o5uZHobqRKZSHLma7gUAlPYQgTKr9dLJ\nYS8vhcyBo3qMBVhpL3tw6hYEywOBtMNjFSOrblgKQJl4gT4nq2/szBfrwl3F\nJprnCHsxlVV/CVXwJTJlP2XXtKTWQfWqVVr4KPoVsvurszjOl14K4EezXPt4\nbH5o\r\n=7Ldb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID9UyPtc7px0BhcSCZIXGqWkdCuJoaJPOVhCGHoejZ3dAiEAqEChxdX3j2kh1kLDs7rPAZud589HAtLT7PFRyolwq5c="}]},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/libp2p-peer-id_0.2.0_1641110724063_0.06657861741972315"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-02T08:05:24.062Z","0.2.0":"2022-01-02T08:05:24.189Z","modified":"2022-05-07T23:13:35.737Z"},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"}],"description":"IPFS Peer Id implementation in Node.js","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-peer-id#readme","keywords":["IPFS"],"repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"license":"MIT","readme":"# libp2p-peer-id <!-- omit in toc -->\n\n> peer-ids in JavaScript\n\n## Table of Contents <!-- omit in toc -->\n\n- [Description](#description)\n- [Example](#example)\n- [Installation](#installation)\n  - [License](#license)\n    - [Contribution](#contribution)\n\n# Description\n\nA basic implementation of a peer id\n\n# Example\n\n```JavaScript\nimport { PeerId } from 'libp2p-peer-id'\n\nconst id = new PeerId(...)\n\nconsole.log(id.toCid())\n```\n\n# Installation\n\n```console\n$ npm i libp2p-peer-id\n```\n\n## License\n\nLicensed under either of\n\n * Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / http://www.apache.org/licenses/LICENSE-2.0)\n * MIT ([LICENSE-MIT](LICENSE-MIT) / http://opensource.org/licenses/MIT)\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","readmeFilename":"README.md"}