JavaScript implementation of https://github.com/libp2p/mplex
$ npm i @libp2p/mplex
<script>
tagLoading this module through a script tag will make its exports available as Libp2pMplex
in the global namespace.
<script src="https://unpkg.com/@libp2p/mplex/dist/index.min.js"></script>
JavaScript implementation of https://github.com/libp2p/mplex
Licensed under either of
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.
This is a [simple stream multiplexer(https://docs.libp2p.io/concepts/multiplex/mplex/) that has been deprecated.
Please use @chainsafe/libp2p-yamux instead.
Example