libp2p-crypto
Crypto primitives for libp2p
libp2p-crypto@0.21.2 was published on 2022-01-20. Its manifest declares 8 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=12.0.0.
All libp2p-crypto versions · Permanent reference to 0.21.2
Package specifications
| Version | 0.21.2 |
|---|---|
| License declaration | MIT |
| Published | 2022-01-20T17:44:50.039Z |
| Node.js requirement | >=12.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 8 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 320.46 KiB |
| Published file count | 38 |
| 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 | 28 |
| Repository stars | 79 |
| Repository forks | 51 |
Install libp2p-crypto 0.21.2
npm install libp2p-crypto@0.21.2 pnpm add libp2p-crypto@0.21.2 yarn add libp2p-crypto@0.21.2
Runtime dependencies
- @noble/ed25519 ^1.5.1
- @noble/secp256k1 ^1.3.0
- err-code ^3.0.1
- iso-random-stream ^2.0.0
- multiformats ^9.4.5
- node-forge ^1.2.1
- protobufjs ^6.11.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 — direct
- @noble/secp256k1@1.7.2 — direct
- @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
- err-code@3.0.1 — direct
- events@3.3.0 — indirect
- inherits@2.0.4 — indirect
- iso-random-stream@2.0.2 — direct
- long@4.0.0 — indirect
- multiformats@9.9.0 — direct
- node-forge@1.4.2 — direct
- 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 — project is archived |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 2/10 — Found 8/27 approved changesets -- score normalized to 2 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| 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 |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 9/10 — license file detected |
| Security-Policy | 0/10 — security policy file not detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/libp2p-crypto/0.21.2 — retrieved 2026-10-29T11:31:51.647Z
- https://api.deps.dev/v3/systems/npm/packages/libp2p-crypto/versions/0.21.2 — retrieved 2026-10-29T11:31:52.424Z
- https://api.deps.dev/v3/systems/npm/packages/libp2p-crypto/versions/0.21.2:dependencies — retrieved 2026-10-29T11:31:52.459Z
- https://api.deps.dev/v3/projects/github.com%2Flibp2p%2Fjs-libp2p-crypto — retrieved 2026-10-29T11:31:52.598Z