{"name":"@libp2p/utils","version":"7.4.1-5cb617ae2","description":"Package to aggregate shared logic and dependencies for the libp2p ecosystem","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p/tree/main/packages/utils#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"publishConfig":{"access":"public","provenance":true},"type":"module","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js","module-sync":"./dist/src/index.js"}},"scripts":{"clean":"aegir clean","lint":"aegir lint","dep-check":"aegir dep-check","doc-check":"aegir doc-check","build":"aegir build","test":"aegir test","test:chrome":"aegir test -t browser --cov","test:chrome-webworker":"aegir test -t webworker","test:firefox":"aegir test -t browser -- --browser firefox","test:firefox-webworker":"aegir test -t webworker -- --browser firefox","test:node":"aegir test -t node --cov","test:electron-main":"aegir test -t electron-main"},"dependencies":{"@chainsafe/is-ip":"^2.1.0","@chainsafe/netmask":"^2.0.0","@libp2p/interface":"3.3.0-5cb617ae2","@libp2p/logger":"6.2.13-5cb617ae2","@multiformats/multiaddr":"^13.0.3","@multiformats/multiaddr-matcher":"^3.0.2","@sindresorhus/fnv1a":"^3.1.0","any-signal":"^4.1.1","cborg":"^6.0.0","delay":"^7.0.0","is-loopback-addr":"^2.0.2","it-length-prefixed":"^11.0.1","it-pipe":"^3.0.1","it-pushable":"^3.2.3","it-stream-types":"^2.0.2","main-event":"^1.0.1","netmask":"^2.0.2","p-defer":"^4.0.1","p-event":"^7.0.0","progress-events":"^1.1.0","protons-runtime":"^7.0.0","race-signal":"^2.0.0","uint8-varint":"^3.0.0","uint8arraylist":"^3.0.2","uint8arrays":"^6.1.1"},"devDependencies":{"@libp2p/crypto":"5.1.23-5cb617ae2","@libp2p/peer-id":"6.0.15-5cb617ae2","@types/netmask":"^2.0.5","aegir":"^48.1.1","benchmark":"^2.1.4","it-all":"^3.0.9","it-drain":"^3.0.10","sinon":"^22.0.0","sinon-ts":"^2.0.0","wherearewe":"^2.0.1"},"browser":{"./dist/src/get-thin-waist-addresses.js":"./dist/src/get-thin-waist-addresses.browser.js"},"react-native":{"./dist/src/get-thin-waist-addresses.js":"./dist/src/get-thin-waist-addresses.js"},"sideEffects":false,"readmeFilename":"README.md","gitHead":"5cb617ae201c3db0c2432732a30cb3519caf0099","_id":"@libp2p/utils@7.4.1-5cb617ae2","_nodeVersion":"24.19.0","_npmVersion":"11.19.1","dist":{"integrity":"sha512-tT54M0Ezsorzdwm2OIjtkEEK5ZLuFkmd6MUgAmcKoT26Mj4no2R6XqDLHJqaGM+kSphZfEUtpJ2e1T8NH7+Ymg==","shasum":"64742bbb8d51a9fdde7998f833c26c37ba9b7063","tarball":"http://registry-npm.ywwl.com/@libp2p/utils/download/@libp2p/utils-7.4.1-5cb617ae2.tgz","fileCount":259,"unpackedSize":1435408,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@libp2p%2futils@7.4.1-5cb617ae2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIECWf99N0fh70X/ixHsOfwWiDBxqoOMINi1ByTq9f4oAAiB59Bf3sKhDJ+WFVUsg0FIvea8FRWyRjE4+Ltn1XLcd4g=="}],"size":327862,"noattachment":false,"key":"/@libp2p/utils/-/@libp2p/utils-7.4.1-5cb617ae2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:306c4dde-b2f6-4815-b500-6140bdebd332"}},"directories":{},"maintainers":[{"name":"daviddias","email":"mail@daviddias.me"},{"name":"alanshaw","email":"alan138@gmail.com"},{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"vascosantos","email":"santos.vasco10@gmail.com"},{"name":"npm-service-account-libp2p","email":"npm-service-account+libp2p@ipfs.tech"},{"name":"jacobheun","email":"jacobheun@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/utils_7.4.1-5cb617ae2_1788349012707_0.1303379254681023"},"_hasShrinkwrap":false,"readme":"# @libp2p/utils\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=main\\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amain)\n\n> Package to aggregate shared logic and dependencies for the libp2p ecosystem\n\n# About\n\n<!--\n\n!IMPORTANT!\n\nEverything in this README between \"# About\" and \"# Install\" is automatically\ngenerated and will be overwritten the next time the doc generator is run.\n\nTo make changes to this section, please update the @packageDocumentation section\nof src/index.js or src/index.ts\n\nTo experiment with formatting, please run \"npm run docs\" from the root of this\nrepo and examine the changes made.\n\n-->\n\nThis module contains utility functions used by libp2p modules.\n\n# Install\n\n```console\n$ npm i @libp2p/utils\n```\n\n## Browser `<script>` tag\n\nLoading this module through a script tag will make its exports available as `Libp2pUtils` in the global namespace.\n\n```html\n<script src=\"https://unpkg.com/@libp2p/utils/dist/index.min.js\"></script>\n```\n\n# API Docs\n\n- <https://libp2p.github.io/js-libp2p/modules/_libp2p_utils.html>\n\n# License\n\nLicensed under either of\n\n- Apache 2.0, ([LICENSE-APACHE](https://github.com/libp2p/js-libp2p/blob/main/packages/utils/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)\n- MIT ([LICENSE-MIT](https://github.com/libp2p/js-libp2p/blob/main/packages/utils/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":1788349012852,"_cnpm_publish_time":1788349012852,"dist-tags":{"latest":"7.4.5","next":"7.4.5-fab409544"}}