{"name":"@libp2p/utils","version":"7.0.1","license":"Apache-2.0 OR MIT","_id":"@libp2p/utils@7.0.1","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"}],"homepage":"https://github.com/libp2p/js-libp2p/tree/main/packages/utils#readme","bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"dist":{"shasum":"bf0da63f60aa08de55803d2aed9d7e85f9bee9ff","tarball":"http://registry-npm.ywwl.com/@libp2p/utils/download/@libp2p/utils-7.0.1.tgz","fileCount":255,"integrity":"sha512-6100H6V5oUF9a1o22yt4RfwAZW/Ns37/JwgZEyZfo0hjRhXVC773ao4Jf1I7YWNVJk6ktqG6TMCDe5OnROPAOA==","signatures":[{"sig":"MEQCIAQ8Ka0gDmCAv6EjHOKYNs0JkFPEpheZizRMsiov8FVWAiAR+Yr95tmAQLSo6MdZINRbunwNMlJjaYWHtBxHsv2PLw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@libp2p%2futils@7.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1312217,"size":300060,"noattachment":false,"key":"/@libp2p/utils/-/@libp2p/utils-7.0.1.tgz"},"type":"module","types":"./dist/src/index.d.ts","browser":{"./dist/src/get-thin-waist-addresses.js":"./dist/src/get-thin-waist-addresses.browser.js"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"gitHead":"4c1db67d8f612cb65a981654bef87682263cf84c","scripts":{"lint":"aegir lint","test":"aegir test","build":"aegir build","clean":"aegir clean","dep-check":"aegir dep-check","doc-check":"aegir doc-check","test:node":"aegir test -t node --cov","test:chrome":"aegir test -t browser --cov","test:firefox":"aegir test -t browser -- --browser firefox","test:electron-main":"aegir test -t electron-main","test:chrome-webworker":"aegir test -t webworker","test:firefox-webworker":"aegir test -t webworker -- --browser firefox"},"_npmUser":{"name":"npm-service-account-libp2p","email":"npm-service-account+libp2p@ipfs.tech"},"repository":{"url":"git+https://github.com/libp2p/js-libp2p.git","type":"git"},"_npmVersion":"10.9.3","description":"Package to aggregate shared logic and dependencies for the libp2p ecosystem","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","dependencies":{"cborg":"^4.2.14","delay":"^6.0.0","it-pipe":"^3.0.1","netmask":"^2.0.2","p-defer":"^4.0.1","p-event":"^7.0.0","any-signal":"^4.1.1","main-event":"^1.0.1","it-pushable":"^3.2.3","race-signal":"^2.0.0","uint8arrays":"^5.1.0","uint8-varint":"^2.0.4","@libp2p/crypto":"^5.1.10","@libp2p/logger":"^6.0.1","uint8arraylist":"^2.4.8","it-stream-types":"^2.0.2","@chainsafe/is-ip":"^2.1.0","is-loopback-addr":"^2.0.2","@libp2p/interface":"^3.0.0","@chainsafe/netmask":"^2.0.0","it-length-prefixed":"^10.0.1","@sindresorhus/fnv1a":"^3.1.0","@multiformats/multiaddr":"^13.0.1"},"react-native":{"./dist/src/get-thin-waist-addresses.js":"./dist/src/get-thin-waist-addresses.js"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"aegir":"^47.0.22","sinon":"^21.0.0","it-all":"^3.0.9","it-drain":"^3.0.10","sinon-ts":"^2.0.0","benchmark":"^2.1.4","wherearewe":"^2.0.1","@types/netmask":"^2.0.5","@libp2p/peer-id":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/utils_7.0.1_1758722469802_0.22357171032510337","host":"s3://npm-registry-packages-npm-production"},"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":1758722470022,"_cnpm_publish_time":1758722470022,"dist-tags":{"latest":"7.4.5","next":"7.4.5-fab409544"}}