@libp2p/prometheus-metrics 0.0.0
Collect libp2p metrics for scraping by Prometheus
@libp2p/prometheus-metrics@0.0.0 was published on 2022-11-04. Its manifest declares 4 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=16.0.0.
All @libp2p/prometheus-metrics versions · Permanent reference to 0.0.0 · Latest release
Package specifications
| Version | 0.0.0 |
|---|---|
| License declaration | Apache-2.0 OR MIT |
| Published | 2022-11-04T17:56:41.088Z |
| Node.js requirement | >=16.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 30.66 KiB |
| Published file count | 27 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 14 |
| Repository stars | 2586 |
| Repository forks | 556 |
Install @libp2p/prometheus-metrics 0.0.0
npm install @libp2p/prometheus-metrics@0.0.0 pnpm add @libp2p/prometheus-metrics@0.0.0 yarn add @libp2p/prometheus-metrics@0.0.0
Runtime dependencies
- it-pipe ^2.0.4
- it-drain ^2.0.0
- @libp2p/metrics ^0.0.0
- @libp2p/interface-metrics ^3.0.0
Peer requirements
- prom-client ^14.1.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @libp2p/interface-metrics@3.0.0 — direct
- @libp2p/interface-peer-id@1.1.2 — indirect
- @libp2p/interfaces@3.3.2 — indirect
- @libp2p/metrics@0.0.0 — direct
- hashlru@2.3.0 — indirect
- it-drain@2.0.1 — direct
- it-foreach@1.0.1 — indirect
- it-merge@2.0.1 — indirect
- it-pipe@2.0.5 — direct
- it-pushable@3.2.4 — indirect
- it-stream-types@1.0.5 — indirect
- multiformats@10.0.3 — indirect
- p-defer@4.0.1 — indirect
- retimer@3.0.0 — 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
- https://registry.npmjs.org/%40libp2p%2Fprometheus-metrics/0.0.0 — retrieved 2026-10-30T21:06:47.122Z
- https://api.deps.dev/v3/systems/npm/packages/%40libp2p%2Fprometheus-metrics/versions/0.0.0:dependencies — retrieved 2026-10-30T21:06:47.649Z
- https://api.deps.dev/v3/systems/npm/packages/%40libp2p%2Fprometheus-metrics/versions/0.0.0 — retrieved 2026-10-30T21:06:47.687Z
- https://api.deps.dev/v3/projects/github.com%2Flibp2p%2Fjs-libp2p — retrieved 2026-10-30T16:12:28.750Z