Package Exports
- @libp2p/interface
- @libp2p/interface/connection
- @libp2p/interface/connection-encrypter
- @libp2p/interface/connection-gater
- @libp2p/interface/content-routing
- @libp2p/interface/errors
- @libp2p/interface/events
- @libp2p/interface/keychain
- @libp2p/interface/keys
- @libp2p/interface/metrics
- @libp2p/interface/metrics/tracked-map
- @libp2p/interface/peer-discovery
- @libp2p/interface/peer-id
- @libp2p/interface/peer-info
- @libp2p/interface/peer-routing
- @libp2p/interface/peer-store
- @libp2p/interface/peer-store/tags
- @libp2p/interface/pubsub
- @libp2p/interface/record
- @libp2p/interface/startable
- @libp2p/interface/stream-handler
- @libp2p/interface/stream-muxer
- @libp2p/interface/stream-muxer/stream
- @libp2p/interface/transport
Readme
@libp2p/interface
The interface implemented by a libp2p node
Table of contents
Install
$ npm i @libp2p/interface
Browser <script>
tag
Loading this module through a script tag will make it's exports available as Libp2pInterface
in the global namespace.
<script src="https://unpkg.com/@libp2p/interface/dist/index.min.js"></script>
API Docs
License
Licensed under either of
- Apache 2.0, (LICENSE-APACHE / http://www.apache.org/licenses/LICENSE-2.0)
- MIT (LICENSE-MIT / http://opensource.org/licenses/MIT)
Contribution
Unless 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.