libp2p-peer-id
v0.2.0
Published
IPFS Peer Id implementation in Node.js
Downloads
4
Readme
libp2p-peer-id
peer-ids in JavaScript
Table of Contents
Description
A basic implementation of a peer id
Example
import { PeerId } from 'libp2p-peer-id'
const id = new PeerId(...)
console.log(id.toCid())Installation
$ npm i libp2p-peer-idLicense
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.
