@libp2p/crypto 0.22.2
Crypto primitives for libp2p
@libp2p/crypto@0.22.2 was published on 2022-01-04. 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 >=15.0.0.
All @libp2p/crypto versions · Permanent reference to 0.22.2 · View npm registry JSON · Latest release
Package specifications
| Version | 0.22.2 |
|---|---|
| License declaration | MIT |
| Published | 2022-01-04T14:01:49.197Z |
| Node.js requirement | >=15.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 | 231.42 KiB |
| Published file count | 170 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 28 |
| Repository stars | 2587 |
| Repository forks | 556 |
Install @libp2p/crypto 0.22.2
npm install @libp2p/crypto@0.22.2 pnpm add @libp2p/crypto@0.22.2 yarn add @libp2p/crypto@0.22.2
Runtime dependencies
- err-code ^3.0.1
- node-forge ^0.10.0
- protobufjs ^6.11.2
- uint8arrays ^3.0.0
- multiformats ^9.4.5
- @noble/ed25519 ^1.3.3
- @noble/secp256k1 ^1.3.4
- iso-random-stream ^2.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.6 — 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@0.10.0 — 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.
| Code-Review | 2/10 — Found 5/20 approved changesets -- score normalized to 2 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Security-Policy | 10/10 — security policy file detected |
| 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 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Branch-Protection | 5/10 — branch protection is not maximal on development and all release branches |
| Pinned-Dependencies | 2/10 — dependency not pinned by hash detected -- score normalized to 2 |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-02T22:17:49.676Z
- https://api.deps.dev/v3/systems/npm/packages/%40libp2p%2Fcrypto/versions/0.22.2:dependencies — retrieved 2026-11-02T22:17:49.802Z
- https://api.deps.dev/v3/projects/github.com%2Flibp2p%2Fjs-libp2p — retrieved 2026-11-02T19:41:17.414Z
- https://api.deps.dev/v3/systems/npm/packages/%40libp2p%2Fcrypto/versions/0.22.2 — retrieved 2026-11-02T22:17:49.844Z