libp2p-peer-id
IPFS Peer Id implementation in Node.js
Last updated 4 years ago by achingbrain .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install libp2p-peer-id 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.2.0                                ...           latest (4 years ago)

1 Versions

  • 0.2.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (1)

Copyright 2013 - present © cnpmjs.org | Home |