{"name":"@libp2p/webrtc-peer","version":"1.0.0","description":"Simple one-to-one WebRTC data channels","author":"","license":"Apache-2.0 OR MIT","homepage":"https://github.com/libp2p/js-libp2p-webrtc-peer#readme","repository":{"type":"git","url":"git+https://github.com/libp2p/js-libp2p-webrtc-peer.git"},"bugs":{"url":"https://github.com/libp2p/js-libp2p-webrtc-peer/issues"},"engines":{"node":">=16.0.0","npm":">=7.0.0"},"main":"src/index.js","eslintConfig":{"extends":"ipfs"},"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":{"lint":"aegir lint","dep-check":"aegir dep-check dist/src/**/*.js dist/test/**/*.js","build":"tsc","release":"semantic-release"},"dependencies":{"@libp2p/interfaces":"^1.3.15","@libp2p/logger":"^1.1.2","@libp2p/webrtc-star-protocol":"^1.0.1","delay":"^5.0.0","err-code":"^3.0.1","iso-random-stream":"^2.0.2","it-pushable":"^2.0.1","it-stream-types":"^1.0.4","p-defer":"^4.0.0","p-event":"^5.0.1","uint8arrays":"^3.0.0"},"devDependencies":{"aegir":"^36.2.2"},"gitHead":"0092520904aa1d8633036e1ac428a15e91e4fb90","_id":"@libp2p/webrtc-peer@1.0.0","_nodeVersion":"16.14.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-l5bs7ZHfxnW5M1ZwkkYNnjRg7q66CYQ6Y5eSZfUBn88ZYKkBkYJa/bhR5ybMgecM7MFbcK8Mh2niPFrngQazEA==","shasum":"55b2247de133a8809b58a4d71366058fbcd50423","tarball":"http://registry-npm.ywwl.com/@libp2p/webrtc-peer/download/@libp2p/webrtc-peer-1.0.0.tgz","fileCount":34,"unpackedSize":83192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNJunACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXqg/9HUEJJ1DvJBDZLNUhphSlDluPOdw1wcD1frYcbp9ztNOAFeRc\r\nd7bZjd4tSYF14uPQELOcfpUuNDFTtyQN3kWyjNg6usqkubs6mSnJ0z11XWzR\r\nf+zaJTLRafSIc2fwMWyKDUWERzUtdxSJtJp2TXYumiJOCYJzJ1++2dS+a6vX\r\nFf0A7f/3ss1nZT5Guwf94tdNZzEDQ6KoYi0rJX7rFnbkpR0mSq9Ls/2vGxn9\r\n51p3+bsx0eoVi9JpgGKL2UpbzER/8asRVaP8ZObP6kQQYdufGyx8xIyDdGsI\r\nw1HRbKSezeYyDAr+g5v4+j4/mlJnFHFsaOrvZUaRgQOkhc1VyC0CJ3piPh+J\r\nIl2v8PF5gOS5EfXgssg3WzJQDwTZulzkEhV2FAJq+ZLOMVgNQTg0o16xupCC\r\nKW1tWFgitRuyoC9AgKIbiG6NaO7zg/iHhKQm9FSOOYLWb+xxFNS2ZTjyvZqb\r\n35bOq1c4mZIWnhI3MvHJSZ/WTagiuKnaVU/IJ+4p85fFs64lLcRdYeflwjba\r\nrCv/i+RctMNcRmfeDc8IJd92G2RFcluc6ns8WZQVvB0RnTRE0/lDUY1Mad+Y\r\n5XeVHzi10XieZP9V9s+RRDOE3eV52m8M+e08n7RWJa4D9edo5T2yKhMwNAKh\r\n2sCnw4+MPehOJsApUeA7e3VzA2ZWwxZk7OA=\r\n=iNX9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAK8rqi1BSTtcyt64f9SHOdn8+6PEpeZab3ZJW4vB082AiAzmKLF0Om7Ghdtg4Gz9EGd7bYEVi1nZPlsxJcSOeFQYw=="}],"size":23257,"noattachment":false,"key":"/@libp2p/webrtc-peer/-/@libp2p/webrtc-peer-1.0.0.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/webrtc-peer_1.0.0_1647614886987_0.8994503333014681"},"_hasShrinkwrap":false,"readme":"# @libp2p/webrtc-peer <!-- 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-webrtc-peer.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-webrtc-peer)\n[![CI](https://img.shields.io/github/workflow/status/libp2p/js-libp2p-webrtc-peer/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/libp2p/js-libp2p-webrtc-peer/actions/workflows/js-test-and-release.yml)\n\n> Simple one-to-one WebRTC data channels\n\n## Table of contents <!-- omit in toc -->\n\n- [Install](#install)\n- [Usage](#usage)\n- [License](#license)\n- [Contribute](#contribute)\n\n## Install\n\n```console\n$ npm i @libp2p/webrtc-peer\n```\n\n## Usage\n\n```js\nimport { WebRTCInitiator } from '@libp2p/webrtc-peer'\n\nconst channel = new WebRTCInitiator(channelOptions)\nchannel.addEventListener('signal', (signal) => {\n  // do handshake\n})\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## Contribute\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":1647614887125,"_cnpm_publish_time":1647614887125,"dist-tags":{"latest":"2.0.2"}}