isabella232 / npm-go-libp2p

Install go-libp2p-daemon via npm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-libp2p

libp2p.io Discuss codecov CI

Install the latest go-libp2p binary

Table of contents

Install

$ npm i go-libp2p
# Install globally
> npm install -g go-libp2p
> libp2p version
libp2p version v0.7.0

# Install locally
> npm install go-libp2p
> ./node_modules/.bin/libp2p
libp2p version v0.7.0

Publishing new versions

The makefile in this repo will build go-libp2p-daemon for every supported platform, compress the binaries and update src/versions.json.

The compressed binaries must be added to the relevant go-libp2p-daemon release page on GitHub.

Prequisites

  • Install a version of go that's capable of building the target go-libp2p-daemon version.

Instructions

  1. Run makefile
    $ make all
  2. Upload new versions to the GitHub release page
  3. Open a PR to this repo with changes made to src/versions.json

If anything goes wrong:

$ make clean

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.

About

Install go-libp2p-daemon via npm

License:Other


Languages

Language:JavaScript 91.2%Language:Makefile 8.8%