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

@libp2p/peer-id-factory

Package Overview
Dependencies
Maintainers
3
Versions
448
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.0 to 0.2.0

dist/src/index.d.ts

77

package.json
{
"name": "@libp2p/peer-id-factory",
"version": "0.0.0",
"description": "",
"main": "index.js",
"license": "(Apache-2.0 OR MIT)"
"version": "0.2.0",
"description": "IPFS Peer Id implementation in Node.js",
"type": "module",
"types": "./dist/src/index.d.ts",
"exports": {
".": {
"import": "./dist/src/index.js",
"types": "./dist/src/index.d.ts"
}
},
"typesVersions": {
"*": {
"src/*": [
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist/src",
"!**/*.tsbuildinfo"
],
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
},
"ignorePatterns": [
"proto.d.ts"
]
},
"scripts": {
"pretest": "npm run build",
"test": "aegir test -f ./dist/test/**/*.js",
"test:browser": "aegir test -t browser -f ./dist/test/**/*.js",
"test:node": "aegir test -t node -f ./dist/test/**/*.js",
"test:electron-main": "aegir test -t electron-main -f ./dist/test/**/*.js",
"lint": "aegir ts -p check && aegir lint",
"build": "tsc",
"build:proto": "npm run build:proto:js && npm run build:proto:types",
"build:proto:js": "pbjs -t static-module -w es6 --es6 -r libp2p-peer-id --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/proto.js ./src/proto.proto",
"build:proto:types": "pbts -o src/proto.d.ts src/proto.js",
"dep-check": "aegir dep-check dist/src/**/*.js dist/test/**/*.js"
},
"keywords": [
"IPFS"
],
"license": "MIT",
"engines": {
"node": ">=15.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/libp2p/js-libp2p-interfaces.git"
},
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-interfaces/issues"
},
"homepage": "https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-peer-id-factory#readme",
"devDependencies": {
"aegir": "^36.0.1",
"util": "^0.12.3"
},
"dependencies": {
"@libp2p/crypto": "^0.22.2",
"@libp2p/interfaces": "^0.2.0",
"@libp2p/peer-id": "^0.2.0",
"multiformats": "^9.4.5",
"protobufjs": "^6.10.2",
"uint8arrays": "^3.0.0"
},
"gitHead": "899cb6a9390c748bccf9b6404f104efb011a0c9c"
}
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