{"name":"@libp2p/components","version":"0.0.1","description":"Container for libp2p components","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-interfaces#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-interfaces.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-interfaces/issues"},"keywords":["interface","libp2p"],"engines":{"node":">=16.0.0","npm":">=7.0.0"},"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"import":"./dist/src/index.js","types":"./dist/src/index.d.ts"}},"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":{"err-code":"^3.0.1","@libp2p/interface-connection":"*","@libp2p/interface-content-routing":"*","@libp2p/interface-address-manager":"*","@libp2p/interfaces":"^2.0.3","@libp2p/interface-metrics":"*","@libp2p/interface-peer-id":"*","@libp2p/interface-peer-store":"*","@libp2p/interface-peer-routing":"*","@libp2p/interface-registrar":"*","@libp2p/interface-transport":"*","@libp2p/interface-pubsub":"*","@libp2p/interface-dht":"*","@libp2p/interface-connection-manager":"*","interface-datastore":"^6.1.0"},"devDependencies":{"aegir":"^37.0.7"},"_id":"@libp2p/components@0.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-Nl1SlH4c0OlcU36gyK2vMiEamE8aW8q76pkpEBMioh+gJM9Ad3csYrKuVRtOs2XfGX9uVfQp6H1XQdXb+T+vcg==","shasum":"464461e790cce110b3037796d35528f33f6a0266","tarball":"http://registry-npm.ywwl.com/@libp2p/components/download/@libp2p/components-0.0.1.tgz","fileCount":8,"unpackedSize":39657,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrE+8DUi/U+d5eCNJ3oSDQT8cHpHU2Pp+r5yuGPZ01zgIgIxSQ4UozWMqYjx2WdXgo5qof8ib00FKeTJ+BQ0MsuPo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioxwVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnXg//TPsi1hLMJdH+CWhBA+TNf0e3cRoauSU0pmqKyA6V7qt1ShA4\r\nzl5lJeP/RtmOjVLToG+hmNUxEJAO6579XwMw53TNyoAqrUB01IyS7egkbfky\r\ngmX2pJ76DsseMwKPYM0pq4GSMaCBYYh/BPd8teOsuFvDAfbATNfarS7BUqKJ\r\nHKZyWM5bqgVjcLD9AUQC9AV4ZPIj2IDnoniKwtQ+V/IfuCyc2KwBTcWhwYjd\r\nPwFeJacMa9kyH9CPFnORm9mLMThuvnmwDliiRYDqB5Kl+0rHwQx5weFFZYgH\r\ns4lo1DRZBBPCL3QanTsFOVoo5ZG3w4HlFYa1lXu8Dzq+XGRnS1VjDwwKN6FH\r\nZIB7GekpsGsm3mXaofCX0wR+EcuCNj1yhHUT7yem6Fo3yGxauYj9oUEu2L+p\r\n26bpxkuD8QBEP0QN3ND87Nt9BY8lPC6MQ7S9fIYeI+q4ih5vzHn+zakZFR6M\r\n0CVpdiXfO8tqJkQrZ3sXJUENe1y7c7NdBztRgZ9NOYcPc7ceQ+XiO2oPoqFv\r\nBGG5ZpWbfmoy7/TKPAoON+mpeclcoALiKQm7xjBjAJHM4Bzda5MMiszH9pZX\r\nZYOB7PySQR8DxF6t+5H6rDPcsWzxAL297KBtMuJ9qkWPT1h7MrGNjuRcEnN4\r\nCRtr/xwf42T38srn//HElJn6/0kLnbrJI9g=\r\n=chVH\r\n-----END PGP SIGNATURE-----\r\n","size":7079,"noattachment":false,"key":"/@libp2p/components/-/@libp2p/components-0.0.1.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_0.0.1_1654856725386_0.5484445199464796"},"_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":1654856725596,"_cnpm_publish_time":1654856725596,"dist-tags":{"latest":"3.1.1"}}