{"name":"@libp2p/interface-peer-store","version":"2.0.4-ea8a0637","description":"Peer Store interface for libp2p","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/master/packages/interface-peer-store#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"keywords":["interface","libp2p"],"type":"module","types":"./dist/src/index.d.ts","typesVersions":{"*":{"*":["*","dist/*","dist/src/*","dist/src/*/index"],"src/*":["*","dist/*","dist/src/*","dist/src/*/index"]}},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"},"./tags":{"types":"./dist/src/tags.d.ts","import":"./dist/src/tags.js"}},"eslintConfig":{"extends":"ipfs","parserOptions":{"sourceType":"module"}},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","build":"aegir build"},"dependencies":{"@libp2p/interface-peer-id":"2.0.2-ea8a0637","@multiformats/multiaddr":"^12.1.3"},"devDependencies":{"aegir":"^39.0.10"},"typedoc":{"entryPoint":"./src/index.ts"},"readme":"# @libp2p/interface-peer-store <!-- omit in toc -->\n\n[![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)\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.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)\n[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)\n\n> Peer Store interface for libp2p\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Usage](#usage)\n  - [Tags](#tags)\n- [API Docs](#api-docs)\n- [License](#license)\n- [Contribution](#contribution)\n\n## Install\n\n```console\n$ npm i @libp2p/interface-peer-store\n```\n\n## Usage\n\n### Tags\n\nCommon tags can be imported from the `@libp2p/interface-peer-store/tag` module:\n\n```js\nimport { KEEP_ALIVE } from '@libp2p/interface-peer-store/tags'\n\nawait peerStore.tagPeer(peerId, KEEP_ALIVE)\n```\n\n## API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_peer_store.html>\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","gitHead":"ea8a06378d6733c0bcac28bed3aa3baef1e30ead","_id":"@libp2p/interface-peer-store@2.0.4-ea8a0637","_nodeVersion":"18.16.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-cPSZPLQ7+NuBUXO/PD6KTJZlhaPC5MQ8ohY4G5Lt1ytY4YB57uKF6dUZsu7u0dghl5eGY/l9B2LdmTK9WAzo/g==","shasum":"c90de7feaeb74f4164db3029b43808e3b7a395eb","tarball":"http://registry-npm.ywwl.com/@libp2p/interface-peer-store/download/@libp2p/interface-peer-store-2.0.4-ea8a0637.tgz","fileCount":14,"unpackedSize":19260,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFrbqsYgXyxiJG0e8vWA7gb0mkAGGSVs1KIPKk+za7FRAiA9dZcaDOCLHgnxiLiolmxe7cCI7m5hf+0JpRnzVpU4jg=="}],"size":4811,"noattachment":false,"key":"/@libp2p/interface-peer-store/-/@libp2p/interface-peer-store-2.0.4-ea8a0637.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/interface-peer-store_2.0.4-ea8a0637_1687170410162_0.931142581525016"},"_hasShrinkwrap":false,"publish_time":1687170410297,"_cnpm_publish_time":1687170410297,"dist-tags":{"latest":"2.0.4","next":"2.0.4-d853d124"}}