{"name":"@libp2p/components","version":"3.1.1","description":"Container for libp2p components","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-components#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-components.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-components/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"release":{"branches":["master"],"plugins":[["@semantic-release/commit-analyzer",{"preset":"conventionalcommits","releaseRules":[{"breaking":true,"release":"major"},{"revert":true,"release":"patch"},{"type":"feat","release":"minor"},{"type":"fix","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","release":"patch"},{"type":"deps","release":"patch"},{"scope":"no-release","release":false}]}],["@semantic-release/release-notes-generator",{"preset":"conventionalcommits","presetConfig":{"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","section":"Trivial Changes"},{"type":"docs","section":"Documentation"},{"type":"deps","section":"Dependencies"},{"type":"test","section":"Tests"}]}}],"@semantic-release/changelog","@semantic-release/npm","@semantic-release/github","@semantic-release/git"]},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build","release":"aegir release"},"dependencies":{"@libp2p/interface-address-manager":"^2.0.0","@libp2p/interface-connection":"^3.0.1","@libp2p/interface-connection-manager":"^1.1.0","@libp2p/interface-content-routing":"^1.0.2","@libp2p/interface-dht":"^1.0.1","@libp2p/interface-metrics":"^3.0.0","@libp2p/interface-peer-id":"^1.0.4","@libp2p/interface-peer-routing":"^1.0.1","@libp2p/interface-peer-store":"^1.2.2","@libp2p/interface-pubsub":"^3.0.0","@libp2p/interface-registrar":"^2.0.3","@libp2p/interface-transport":"^2.0.0","@libp2p/interfaces":"^3.0.3","err-code":"^3.0.1","interface-datastore":"^7.0.0"},"devDependencies":{"aegir":"^37.5.3"},"gitHead":"0d1c07dd6ade6a76aeee00aed3f9d8caed8ad4b6","_id":"@libp2p/components@3.1.1","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-0KU57SOh+kUULdowGGl5X1PxV3/o0Jpwe9DbRwxVQfAccNA9uPG/zianJ21qh6GwL3pZWOq3bxoam9Arg8mhpg==","shasum":"c28d25a03d6297cd72834bf38696ddab4a2a1c1b","tarball":"http://registry-npm.ywwl.com/@libp2p/components/download/@libp2p/components-3.1.1.tgz","fileCount":8,"unpackedSize":45807,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNTOTvApB/usCOIPW2WsSnvEv7DXz4rw6yMYPGH8WvVAiEAjTlvNIpt/cNXqpjTj04PVYGJLf5s9tqxDdg/xXJc2n8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRXu9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonoQ//Rc3dhXM9YdWitS0ANgmjvk30IsZHGH9oy69VfmmOkNcm4LX+\r\nqVIdzkTzCofRofmaMb2xd8ZkWBRjPZmRqGEL3DDbv0fxk3j307g/nhew4kjL\r\nrTtJSm5X3rjbfFqzlWaPlBh26oIHiLjG9uhDsKZtaOBv2gywBIb1cOHIKdOo\r\neD8UjWCoXx8AvJHL9teNSQzhTS7MpMs7YqnvuPwUmej1XFhwdWuzZqX42DMD\r\nk2DzX8gwsa+FuHyDIJ0tpFwLbjmUnz2425ZV9LtIMykd+aqrBmBk5IaCoMxr\r\nKyVpT2rAL6X1RLiMHRgkR16sYraw8T9m5nRobc5XFoNQot4wilDpjp88jeWx\r\n+5rEf7PQsxHSP87Uv4/Zduguswls8LmdMBUVhELuqReb3R7tDVFrlSDR+NJ7\r\nm9PS899ZS/VsKux/QhYzOvkz98f+u2GX3BSxgY5z0+q+jZNrNolFoXd8m8+g\r\nWDligP95fosilH3zOZzTKAaCGtm/Lx28zTzAhjV+2iuzhsA86HV7ef0mMnzI\r\n5nZbWVJQYmDsHnu56Hc87YHYfPGAjwFMotPxC07Bb4DtJYw9CNOsnuVzIje5\r\nBVHnlc1oCDTuGv3Yi1PRsdYMWi0XRIZG3h0wUFlfiB9qwIUkPZvh78/eDfQB\r\nKJvDSaDYIPyByWxTt8QoIGXq98sctqHX29A=\r\n=8T5C\r\n-----END PGP SIGNATURE-----\r\n","size":8118,"noattachment":false,"key":"/@libp2p/components/-/@libp2p/components-3.1.1.tgz"},"_npmUser":{"name":"npm-service-account-libp2p","email":"npm-service-account+libp2p@protocol.ai"},"directories":{},"maintainers":[{"name":"jacobheun","email":"jacobheun@gmail.com"},{"name":"npm-service-account-libp2p","email":"npm-service-account+libp2p@protocol.ai"},{"name":"alanshaw","email":"alan138@gmail.com"},{"name":"vascosantos","email":"santos.vasco10@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"daviddias","email":"mail@daviddias.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/components_3.1.1_1665498044902_0.7584527213812231"},"_hasShrinkwrap":false,"readme":"# @libp2p/components <!-- omit in toc -->\n\n[![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)\n[![IRC](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)\n[![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)\n[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-components.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-components)\n[![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-interfaces/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-components/actions/workflows/js-test-and-release.yml)\n\n> Container for libp2p components\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Usage](#usage)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/components\n```\n\n## Usage\n\n```js\nimport { Components } from '@libp2p/components'\n\nconst components = new Components({\n  // .. components here\n})\n\n// later\ncomponents.getPeerId()\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","publish_time":1665498045211,"_cnpm_publish_time":1665498045211,"dist-tags":{"latest":"3.1.1"}}