{"name":"@libp2p/components","version":"2.0.0","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":"chore","release":"patch"},{"type":"docs","release":"patch"},{"type":"test","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":"Trivial Changes"},{"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":"^1.0.1","@libp2p/interface-connection":"^2.0.0","@libp2p/interface-connection-manager":"^1.0.0","@libp2p/interface-content-routing":"^1.0.0","@libp2p/interface-dht":"^1.0.0","@libp2p/interface-metrics":"^1.0.2","@libp2p/interface-peer-id":"^1.0.2","@libp2p/interface-peer-routing":"^1.0.0","@libp2p/interface-peer-store":"^1.0.0","@libp2p/interface-pubsub":"^1.0.0","@libp2p/interface-registrar":"^2.0.0","@libp2p/interface-transport":"^1.0.0","@libp2p/interfaces":"^3.0.2","err-code":"^3.0.1","interface-datastore":"^6.1.0"},"devDependencies":{"aegir":"^37.2.0"},"gitHead":"91ed06d6b262a2ca20dbff387c754bc3baf4a65b","_id":"@libp2p/components@2.0.0","_nodeVersion":"16.15.1","_npmVersion":"8.12.2","dist":{"integrity":"sha512-7PrbrfDvaOHKtvkiUBWPAFQX6X57YhZpYh5oKFYYMzh485IO3Bum0xuyUwQOOPmBzWrIuP7QsbmOtyycAux/7w==","shasum":"7f4d6d5c09be3ea880fbc1ee777dd7549631b018","tarball":"http://registry-npm.ywwl.com/@libp2p/components/download/@libp2p/components-2.0.0.tgz","fileCount":8,"unpackedSize":39898,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXa4b9pcnJIWO/dRq6xGa0kpTSiXw+SsKIUrriQ/wovQIhAPA7K6Hb5tVQB6HcZorKqf3VvqXfcdmBkFIbsxprdetJ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiq3R3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEFA//VT9qfzwoEgzmWBhOzRXzyU7bdhBha5UxZatwa7Y7m8Zi3Yon\r\nR9kKy9P0gB9BaK8kS+6LYSC/iKRONn6Iiy13aV/yatOEuPPQknMUI8kvKrLn\r\n6ChnJyns/HXK/16pVxqZPWU12xf9bnC7VxPdfpM7/AATOtH+o4etUo43yOo3\r\n0btg0yAzojxETRw2QmecMMru0mxogq1kcFKgxFZS4eiKBKKw9exH0WbTXBZ2\r\nNw8Oxfz+09otoyy9OvpLPDvpyUjUtaN3zQ1zOjYBZ83Y/wUNVKXFZHuIsmof\r\niDF+Q+qrU2BnkSAY9q3YFV6VFDj8o1ulpkz95B7qd3EoewuHI+m+tmviqt2m\r\nwuK3uEh+XDHh2LX8P9Gd+l3wORnR5fm/Nzz5di+qKU5eApQQ57ocV1UuWuxm\r\nILfbGDHhUma5ojWffMAhfrq60DthXGT+bGzsCHvSy/d4GMNXCRYuzWtXjifD\r\n97oNZzBu/i8jK9koEVikjY1EjvCaS631k5NyUGs9v04WcxGmNr+LTcwFc4GF\r\nm0qonEarUfAcDpeXoAj+ujUUL5H9N+O0SyAY7zBa6x4mosPJw6Ay5PTv1Yn0\r\nf/Vc1PNRgpeE9+8equf0UgA/NhZGhy2B0+KG5BAmDEeCbAVKSQvd2OXZdHWc\r\nn7rDstsHnu5x3bsA7PJDWO+zsEP+FE6evKI=\r\n=lwVA\r\n-----END PGP SIGNATURE-----\r\n","size":7253,"noattachment":false,"key":"/@libp2p/components/-/@libp2p/components-2.0.0.tgz"},"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"maintainers":[{"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_2.0.0_1655403639775_0.40001837412667385"},"_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":1655403639943,"_cnpm_publish_time":1655403639943,"dist-tags":{"latest":"3.1.1"}}