@libp2p/daemon
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

libp2p.io Discuss codecov CI

libp2p-daemon JavaScript implementation

Install

$ npm i @libp2p/daemon

Specs

The specs for the daemon are currently housed in the go implementation. You can read them at libp2p/go-libp2p-daemon

Usage

$ jsp2pd --help

For a full list of options, you can run help jsp2pd --help. Running the defaults, jsp2pd, 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:

$ LIBP2P_JS=/path/to/js-libp2p/src/index.js jsp2pd

API Docs

License

Licensed under either of

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.

Readme

Keywords

Package Sidebar

Install

npm i @libp2p/daemon

Weekly Downloads

1

Version

4.0.1

License

Apache-2.0 OR MIT

Unpacked Size

136 kB

Total Files

10

Last publish

Collaborators

  • jacobheun
  • npm-service-account-libp2p
  • alanshaw
  • vascosantos
  • achingbrain
  • daviddias