mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-26 20:31:04 +00:00
* fix: replace node buffers with uint8arrays Upgrades all deps and replaces all use of node Buffers with Uint8Arrays BREAKING CHANGES: - All deps used by this module now use Uint8Arrays in place of node Buffers * chore: browser fixes * chore: remove .only * chore: stringify uint8array before parsing * chore: update interop suite * chore: remove ts from build command * chore: update deps * fix: update records to use uint8array * chore: fix lint * chore: update deps Co-authored-by: Jacob Heun <jacobheun@gmail.com>
js-libp2p
Examples and Tutorials
In this folder, you can find a variety of examples to help you get started in using js-libp2p, in Node.js and in the Browser. Every example has a specific purpose and some incorporate a full tutorial that you can follow through, helping you expand your knowledge about libp2p and p2p networks in general.
Let us know if you find any issues, or if you want to contribute and add a new tutorial, feel free to submit a PR, thank you!
Understanding how libp2p works
- Transports
- Protocol and Stream Muxing
- Encrypted Communications
- Discovery Mechanisms
- Peer and Content Routing
- PubSub
- NAT Traversal
- Circuit Relay (future)
- Naming (future)
Other examples
- Running libp2p in the Browser
- Running libp2p in the Electron (future)
- The standard echo net example with libp2p
- A simple chat app with libp2p
For go-libp2p examples, check out https://github.com/libp2p/go-libp2p-examples#examples-and-tutorials