1.0.2 • Published 9 months ago
@libp2p/protocol-adventure v1.0.2
@libp2p/protocol-adventure
A workshop for learning about custom protocol streams in libp2p

Requirements
- Node.js install
- A working knowledge of JavaScript, Node.js
- Some time and a pot of coffee
Installation
$ npm install -g @libp2p/protocol-adventureThat didn't work.
$ sudo npm install -g @libp2p/protocol-adventureOkay.
Usage
After installing, start the workshop and follow the instructions:
$ protocol-adventureCan I use TypeScript?
Yes you can, but due to complications around everyone's preferred TypeScript setup, please compile your solutions yourself and verify the compiled code:
$ tsc my-solution.ts
$ protocol-adventure verify ./build/my-solution.jsLicense
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.