libp2p-daemon JavaScript implementation
npm install @libp2p/daemon



> libp2p-daemon JavaScript implementation
``console`
$ npm i @libp2p/daemon
The specs for the daemon are currently housed in the go implementation. You can read them at libp2p/go-libp2p-daemon
`console`
$ jsp2pd --help
For a full list of options, you can run help jsp2pd --help.jsp2pd
Running the defaults, , will start the daemon and bind it to a local unix socket path.
Daemon clients will be able to communicate with the daemon over that unix socket.
As an alternative, you can use this daemon with a different version of libp2p as the one specified in package.json. You just need to define its path through an environment variable as follows:
`console``
$ LIBP2P_JS=/path/to/js-libp2p/src/index.js jsp2pd
-
Licensed under either of
- Apache 2.0, (LICENSE-APACHE /
- MIT (LICENSE-MIT /
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.