Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/interface-peer-id

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-peer-id - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

dist/src/index.d.ts

24

package.json
{
"name": "@libp2p/interface-peer-id",
"version": "0.0.0",
"description": "Interfaces for JS Libp2p",
"version": "0.0.1",
"description": "Peer Identifier interface for libp2p",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-interfaces#readme",
"homepage": "https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-peer-id#readme",
"repository": {

@@ -24,18 +24,2 @@ "type": "git",

"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [

@@ -151,4 +135,4 @@ "src",

"devDependencies": {
"aegir": "^37.0.7"
"aegir": "^37.0.17"
}
}

@@ -1,6 +0,23 @@

interface-peer-id
========================
# @libp2p/interface-peer-id <!-- omit in toc -->
> A test suite and interface you can use to implement a PeerId module for libp2p.
[![test & maybe release](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml/badge.svg)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml)
> Peer Identifier interface for libp2p
## Table of contents <!-- omit in toc -->
- [Install](#install)
- [Modules that implement the interface](#modules-that-implement-the-interface)
- [Badge](#badge)
- [Usage](#usage)
- [Node.js](#nodejs)
- [License](#license)
- [Contribution](#contribution)
## Install
```console
$ npm i @libp2p/interface-peer-id
```
The primary goal of this module is to enable developers to implement PeerId modules. This module and test suite was heavily inspired by earlier implementation of [PeerId](https://github.com/libp2p/js-peer-id).

@@ -45,1 +62,12 @@

```
## License
Licensed under either of
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc