0.2.0 • Published 2 years ago

libp2p-peer-id v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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-id

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.