{"name":"libp2p","version":"0.35.2","description":"JavaScript implementation of libp2p, a modular peer to peer network stack","leadMaintainer":"Jacob Heun <jacobheun@gmail.com>","main":"src/index.js","types":"dist/src/index.d.ts","typesVersions":{"*":{"src/*":["dist/src/*","dist/src/*/index"]}},"scripts":{"lint":"aegir lint","build":"aegir build","build:proto":"npm run build:proto:circuit && npm run build:proto:identify && npm run build:proto:plaintext && npm run build:proto:address-book && npm run build:proto:proto-book && npm run build:proto:peer-record && npm run build:proto:envelope","build:proto:circuit":"pbjs -t static-module -w commonjs -r libp2p-circuit --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/circuit/protocol/index.js ./src/circuit/protocol/index.proto","build:proto:identify":"pbjs -t static-module -w commonjs -r libp2p-identify --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/identify/message.js ./src/identify/message.proto","build:proto:plaintext":"pbjs -t static-module -w commonjs -r libp2p-plaintext --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/insecure/proto.js ./src/insecure/proto.proto","build:proto:address-book":"pbjs -t static-module -w commonjs -r libp2p-address-book --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/peer-store/persistent/pb/address-book.js ./src/peer-store/persistent/pb/address-book.proto","build:proto:proto-book":"pbjs -t static-module -w commonjs -r libp2p-proto-book --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/peer-store/persistent/pb/proto-book.js ./src/peer-store/persistent/pb/proto-book.proto","build:proto:peer-record":"pbjs -t static-module -w commonjs -r libp2p-peer-record --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/record/peer-record/peer-record.js ./src/record/peer-record/peer-record.proto","build:proto:envelope":"pbjs -t static-module -w commonjs -r libp2p-envelope --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/record/envelope/envelope.js ./src/record/envelope/envelope.proto","build:proto-types":"npm run build:proto-types:circuit && npm run build:proto-types:identify && npm run build:proto-types:plaintext && npm run build:proto-types:address-book && npm run build:proto-types:proto-book && npm run build:proto-types:peer-record && npm run build:proto-types:envelope","build:proto-types:circuit":"pbts -o src/circuit/protocol/index.d.ts src/circuit/protocol/index.js","build:proto-types:identify":"pbts -o src/identify/message.d.ts src/identify/message.js","build:proto-types:plaintext":"pbts -o src/insecure/proto.d.ts src/insecure/proto.js","build:proto-types:address-book":"pbts -o src/peer-store/persistent/pb/address-book.d.ts src/peer-store/persistent/pb/address-book.js","build:proto-types:proto-book":"pbts -o src/peer-store/persistent/pb/proto-book.d.ts src/peer-store/persistent/pb/proto-book.js","build:proto-types:peer-record":"pbts -o src/record/peer-record/peer-record.d.ts src/record/peer-record/peer-record.js","build:proto-types:envelope":"pbts -o src/record/envelope/envelope.d.ts src/record/envelope/envelope.js","test":"aegir test","test:ts":"aegir build --no-bundle && npm run test --prefix test/ts-use","test:node":"aegir test -t node -f \"./test/**/*.{node,spec}.js\"","test:browser":"aegir test -t browser","test:examples":"cd examples && npm run test:all","test:interop":"LIBP2P_JS=$PWD npx aegir test -t node -f ./node_modules/libp2p-interop/test/*","prepare":"aegir build --no-bundle","release":"aegir release -t node -t browser","release-minor":"aegir release --type minor -t node -t browser","release-major":"aegir release --type major -t node -t browser","coverage":"nyc --reporter=text --reporter=lcov npm run test:node"},"repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p.git"},"keywords":["libp2p","network","p2p","peer","peer-to-peer","IPFS"],"bugs":{"url":"https://github.com/libp2p/js-libp2p/issues"},"homepage":"https://libp2p.io","license":"MIT","engines":{"node":">=15.0.0"},"browser":{"@motrix/nat-api":false},"eslintConfig":{"extends":"ipfs","ignorePatterns":["!.aegir.js","test/ts-use","*.d.ts"]},"dependencies":{"@motrix/nat-api":"^0.3.1","@vascosantos/moving-average":"^1.1.0","abort-controller":"^3.0.0","abortable-iterator":"^3.0.0","aggregate-error":"^3.1.0","any-signal":"^2.1.1","bignumber.js":"^9.0.1","class-is":"^1.1.0","debug":"^4.3.1","err-code":"^3.0.0","es6-promisify":"^7.0.0","events":"^3.3.0","hashlru":"^2.3.0","interface-datastore":"^6.0.2","it-all":"^1.0.4","it-buffer":"^0.1.2","it-drain":"^1.0.3","it-filter":"^1.0.1","it-first":"^1.0.4","it-handshake":"^2.0.0","it-length-prefixed":"^5.0.2","it-map":"^1.0.4","it-merge":"^1.0.0","it-pipe":"^1.1.0","it-take":"^1.0.0","libp2p-crypto":"^0.21.0","libp2p-interfaces":"^2.0.1","libp2p-utils":"^0.4.0","mafmt":"^10.0.0","merge-options":"^3.0.4","multiaddr":"^10.0.0","multiformats":"^9.0.0","multistream-select":"^2.0.0","mutable-proxy":"^1.0.0","node-forge":"^0.10.0","p-any":"^3.0.0","p-fifo":"^1.0.0","p-retry":"^4.4.0","p-settle":"^4.1.1","peer-id":"^0.16.0","private-ip":"^2.1.0","protobufjs":"^6.10.2","retimer":"^3.0.0","sanitize-filename":"^1.6.3","set-delayed-interval":"^1.0.0","streaming-iterables":"^6.0.0","timeout-abort-controller":"^2.0.0","uint8arrays":"^3.0.0","varint":"^6.0.0","wherearewe":"^1.0.0","xsalsa20":"^1.1.0"},"devDependencies":{"@chainsafe/libp2p-noise":"^4.0.0","@nodeutils/defaults-deep":"^1.1.0","@types/es6-promisify":"^6.0.0","@types/node":"^16.0.1","@types/node-forge":"^0.10.1","@types/varint":"^6.0.0","aegir":"^36.0.0","buffer":"^6.0.3","datastore-core":"^6.0.7","delay":"^5.0.0","into-stream":"^6.0.0","ipfs-http-client":"^54.0.2","it-concat":"^2.0.0","it-pair":"^1.0.0","it-pushable":"^1.4.0","libp2p":".","libp2p-bootstrap":"^0.14.0","libp2p-delegated-content-routing":"^0.11.0","libp2p-delegated-peer-routing":"^0.11.0","libp2p-floodsub":"^0.27.0","libp2p-gossipsub":"^0.11.0","libp2p-interfaces-compliance-tests":"^2.0.1","libp2p-interop":"^0.5.0","libp2p-kad-dht":"^0.27.1","libp2p-mdns":"^0.18.0","libp2p-mplex":"^0.10.1","libp2p-tcp":"^0.17.0","libp2p-webrtc-star":"^0.25.0","libp2p-websockets":"^0.16.0","nock":"^13.0.3","p-defer":"^3.0.0","p-times":"^3.0.0","p-wait-for":"^3.2.0","rimraf":"^3.0.2","sinon":"^12.0.1","util":"^0.12.3"},"contributors":[{"name":"Vasco Santos","email":"vasco.santos@moxy.studio"},{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Jacob Heun","email":"jacobheun@gmail.com"},{"name":"Alex Potsides","email":"alex@achingbrain.net"},{"name":"Alan Shaw","email":"alan@tableflip.io"},{"name":"Cayman","email":"caymannava@gmail.com"},{"name":"Pedro Teixeira","email":"i@pgte.me"},{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},{"name":"Hugo Dias","email":"mail@hugodias.me"},{"name":"dirkmc","email":"dirkmdev@gmail.com"},{"name":"Chris Dostert","email":"chrisdostert@users.noreply.github.com"},{"name":"Volker Mische","email":"volker.mische@gmail.com"},{"name":"zeim839","email":"50573884+zeim839@users.noreply.github.com"},{"name":"Richard Littauer","email":"richard.littauer@gmail.com"},{"name":"a1300","email":"matthias-knopp@gmx.net"},{"name":"Ryan Bell","email":"ryan@piing.net"},{"name":"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ","email":"victorbjelkholm@gmail.com"},{"name":"Giovanni T. Parra","email":"fiatjaf@gmail.com"},{"name":"acolytec3","email":"17355484+acolytec3@users.noreply.github.com"},{"name":"Franck Royer","email":"franck@royer.one"},{"name":"Elven","email":"mon.samuel@qq.com"},{"name":"Robert Kiel","email":"robert.kiel@hoprnet.org"},{"name":"Andrew Nesbitt","email":"andrewnez@gmail.com"},{"name":"Samlior","email":"samlior@foxmail.com"},{"name":"Thomas Eizinger","email":"thomas@eizinger.io"},{"name":"Didrik Nordström","email":"didrik.nordstrom@gmail.com"},{"name":"Smite Chow","email":"xiaopengyou@live.com"},{"name":"Soeren","email":"nikorpoulsen@gmail.com"},{"name":"Sönke Hahn","email":"soenkehahn@gmail.com"},{"name":"TJKoury","email":"TJKoury@gmail.com"},{"name":"TheStarBoys","email":"41286328+TheStarBoys@users.noreply.github.com"},{"name":"Tiago Alves","email":"alvesjtiago@gmail.com"},{"name":"XiaoZhang","email":"zxinmyth@gmail.com"},{"name":"Yusef Napora","email":"yusef@napora.org"},{"name":"Zane Starr","email":"zcstarr@gmail.com"},{"name":"ebinks","email":"elizabethjbinks@gmail.com"},{"name":"Aditya Bose","email":"13054902+adbose@users.noreply.github.com"},{"name":"isan_rivkin","email":"isanrivkin@gmail.com"},{"name":"mayerwin","email":"mayerwin@users.noreply.github.com"},{"name":"mcclure","email":"andi.m.mcclure@gmail.com"},{"name":"patrickwoodhead","email":"91056047+patrickwoodhead@users.noreply.github.com"},{"name":"phillmac","email":"phillmac@users.noreply.github.com"},{"name":"robertkiel","email":"robert.kiel@validitylabs.org"},{"name":"shresthagrawal","email":"34920931+shresthagrawal@users.noreply.github.com"},{"name":"swedneck","email":"40505480+swedneck@users.noreply.github.com"},{"name":"greenSnot","email":"greenSnot@users.noreply.github.com"},{"name":"Alan Smithee","email":"ggnore.alan.smithee@gmail.com"},{"name":"Aleksei","email":"vozhdb@gmail.com"},{"name":"Bernd Strehl","email":"bernd.strehl@gmail.com"},{"name":"Chris Bratlien","email":"chrisbratlien@gmail.com"},{"name":"Cindy Wu","email":"ciindy.wu@gmail.com"},{"name":"Daijiro Wachi","email":"daijiro.wachi@gmail.com"},{"name":"Diogo Silva","email":"fsdiogo@gmail.com"},{"name":"Dmitriy Ryajov","email":"dryajov@gmail.com"},{"name":"Ethan Lam","email":"elmemphis2000@gmail.com"},{"name":"Fei Liu","email":"liu.feiwood@gmail.com"},{"name":"Felipe Martins","email":"felipebrasil93@gmail.com"},{"name":"Florian-Merle","email":"florian.david.merle@gmail.com"},{"name":"Francis Gulotta","email":"wizard@roborooter.com"},{"name":"Guy Sviry","email":"32539816+guysv@users.noreply.github.com"},{"name":"Henrique Dias","email":"hacdias@gmail.com"},{"name":"Irakli Gozalishvili","email":"rfobic@gmail.com"},{"name":"Joel Gustafson","email":"joelg@mit.edu"},{"name":"John Rees","email":"johnrees@users.noreply.github.com"},{"name":"João Santos","email":"joaosantos15@users.noreply.github.com"},{"name":"Julien Bouquillon","email":"contact@revolunet.com"},{"name":"Kevin Kwok","email":"antimatter15@gmail.com"},{"name":"Kevin Lacker","email":"lacker@gmail.com"},{"name":"Lars Gierth","email":"lgierth@users.noreply.github.com"},{"name":"Leask Wong","email":"i@leaskh.com"},{"name":"Marcin Tojek","email":"mtojek@users.noreply.github.com"},{"name":"Michael Burns","email":"5170+mburns@users.noreply.github.com"},{"name":"Miguel Mota","email":"miguelmota2@gmail.com"},{"name":"Nuno Nogueira","email":"nunofmn@gmail.com"},{"name":"Philipp Muens","email":"raute1337@gmx.de"},{"name":"RasmusErik Voel Jensen","email":"github@solsort.com"}],"gitHead":"b9339bccaa679d0698a9960ee650a88faefeb174","_id":"libp2p@0.35.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"57270457be3f24c191321b2714ef1969086e86cd","size":173056,"noattachment":false,"key":"/libp2p/-/libp2p-0.35.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/libp2p/download/libp2p-0.35.2.tgz"},"_npmUser":{"name":"vascosantos","email":"santos.vasco10@gmail.com"},"directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"npm-service-account-libp2p","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/libp2p_0.35.2_1638821288817_0.11217139500200024"},"_hasShrinkwrap":false,"publish_time":1638821289022,"_cnpm_publish_time":1638821289022,"_cnpmcore_publish_time":"2021-12-16T10:32:39.714Z","dist-tags":{"latest":"3.2.0","next":"3.2.0-b30baa93a"}}