{"name":"@libp2p/webrtc-peer","version":"0.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"},"_id":"@libp2p/webrtc-peer@0.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-IS5lI/QFlLuAMAQ3wFoou2SA3r8z1N8/f6cWPQ5lsBbYGvxAP42QD6pPm9sAuqaliIUDMI6kho93Wx9mmsQx8w==","shasum":"4ee1f17f65382c6becd4ba2c9d77d684b8c86969","tarball":"http://registry-npm.ywwl.com/@libp2p/webrtc-peer/download/@libp2p/webrtc-peer-0.0.0.tgz","fileCount":9,"unpackedSize":22615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNJd7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmofcg//eygcs5BsNmixeq4gDqKhb0+/4ExaryeY7IE6OXFtimLVfIfj\r\n6vrJGQfqz7iVjKS49apLTQeE9Ovrvuy80Bkh8rt2yt2qWdiEf6/yehmY3/P3\r\nDsjNrkAP7U/CJYsIK/BGBTWtbYBbjBSq3xTyhqrSrG1yVz8LqYfA0r2jwJ0P\r\nNBAzDNQvkfSIT4apMe/+0pPSkF8tGZxiZmXQ8y4Kr15DoCvr9Gb6waDzWrZp\r\nlQVJqmT4Rdr8KrtH85iXntEcSVwnhB6h03PXeXF1e/LSr0INL5MgiR1qVI4x\r\nU5h7gaq7xFW9F03ns4xr0c++G8gSWgVHDSPCpwrXMNBE4YUySuFlNOPpngsb\r\nlF4F8IGMJITcT6v4ZOuCo1FJZ3tmOGDLFzwPmB0UIZ2KCHINNYbnmdm0Lnx/\r\n+iV43ZKmF/9vwne05F/j2BFoigw0/mMlZaQOIEnAnPsWwxiV5rKX9hkgh2ZG\r\nZjevQa+WmWUo4WqZtT3uEfiCx8fuSTRAcBwOH0gMH7U/VQWl8F2ITLESqaGs\r\nto4sR9u6PZoBXNO/lxHEIJcWWAufoenZ7Tx6WyR2UDUTtAhmfIrfeWc+rmoY\r\nFmSE3tHtbqmj1qaHVRbbrFvIUygfg8kPDWoE4XCP5/ocbN31obf7I+yDZVQc\r\nPw9xQFUlOI4xyLNn+b9RDQUnZsPP7XQtWT4=\r\n=FRXk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGyv2Ph8IcTtniLI6yuIbL1VqZ8kTXAdlhkvM/4B2uhlAiBnc+nUGVH/jW60Fd/q2FHhTRBUHEnD4Esv/T0z6VLlKg=="}],"size":6027,"noattachment":false,"key":"/@libp2p/webrtc-peer/-/@libp2p/webrtc-peer-0.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_0.0.0_1647613819375_0.15107862245706438"},"_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":1647613819554,"_cnpm_publish_time":1647613819554,"dist-tags":{"latest":"2.0.2"}}