peer-id
IPFS Peer Id implementation in Node.js
peer-id@0.16.0 was published on 2021-12-01. Its manifest declares 5 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=15.0.0.
All peer-id versions · Permanent reference to 0.16.0
Package specifications
| Version | 0.16.0 |
|---|---|
| License declaration | MIT |
| Published | 2021-12-01T16:45:58.316Z |
| Node.js requirement | >=15.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 275.60 KiB |
| Published file count | 9 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | src/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 30 |
| Repository stars | 81 |
| Repository forks | 45 |
Install peer-id 0.16.0
npm install peer-id@0.16.0 pnpm add peer-id@0.16.0 yarn add peer-id@0.16.0
Runtime dependencies
- class-is ^1.1.0
- libp2p-crypto ^0.21.0
- multiformats ^9.4.5
- protobufjs ^6.10.2
- uint8arrays ^3.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @noble/ed25519@1.7.5 — indirect
- @noble/secp256k1@1.7.2 — indirect
- @protobufjs/aspromise@1.1.2 — indirect
- @protobufjs/base64@1.1.2 — indirect
- @protobufjs/codegen@2.0.5 — indirect
- @protobufjs/eventemitter@1.1.1 — indirect
- @protobufjs/fetch@1.1.1 — indirect
- @protobufjs/float@1.0.2 — indirect
- @protobufjs/inquire@1.1.2 — indirect
- @protobufjs/path@1.1.2 — indirect
- @protobufjs/pool@1.1.0 — indirect
- @protobufjs/utf8@1.1.2 — indirect
- @types/long@4.0.2 — indirect
- @types/node@26.6.5 — indirect
- class-is@1.1.0 — direct
- err-code@3.0.1 — indirect
- events@3.3.0 — indirect
- inherits@2.0.4 — indirect
- iso-random-stream@2.0.2 — indirect
- libp2p-crypto@0.21.2 — direct
- long@4.0.0 — indirect
- multiformats@9.9.0 — direct
- node-forge@1.4.2 — indirect
- protobufjs@6.11.6 — direct
- readable-stream@3.6.2 — indirect
- safe-buffer@5.2.1 — indirect
- string_decoder@1.3.0 — indirect
- uint8arrays@3.1.1 — direct
- undici-types@8.9.0 — indirect
- util-deprecate@1.0.2 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Code-Review | 1/10 — Found 5/30 approved changesets -- score normalized to 1 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/peer-id/0.16.0 — retrieved 2026-10-29T11:51:16.695Z
- https://api.deps.dev/v3/systems/npm/packages/peer-id/versions/0.16.0 — retrieved 2026-10-29T11:51:17.271Z
- https://api.deps.dev/v3/systems/npm/packages/peer-id/versions/0.16.0:dependencies — retrieved 2026-10-29T11:51:17.301Z
- https://api.deps.dev/v3/projects/github.com%2Flibp2p%2Fjs-peer-id — retrieved 2026-10-29T11:51:17.415Z