string2compact
Convert 'hostname:port' strings to BitTorrent's compact ip/host binary returned by Trackers
string2compact@2.0.2 was published on 2026-05-25. Its manifest declares 2 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=12.20.0.
All string2compact versions · Permanent reference to 2.0.2
Package specifications
| Version | 2.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-05-25T17:33:09.440Z |
| Node.js requirement | >=12.20.0 |
| Type declarations | Not declared |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 6.30 KiB |
| Published file count | 5 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install string2compact 2.0.2
npm install string2compact@2.0.2 pnpm add string2compact@2.0.2 yarn add string2compact@2.0.2
Runtime dependencies
- addr-to-ip-port ^2.0.0
- ipaddr.js 2.0.1
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.
- addr-to-ip-port@2.0.0 — direct
- ipaddr.js@2.0.1 — direct
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.
Evidence and freshness
- https://registry.npmjs.org/string2compact/2.0.2 — retrieved 2026-10-31T01:38:23.124Z
- https://api.deps.dev/v3/systems/npm/packages/string2compact/versions/2.0.2 — retrieved 2026-10-31T01:38:23.942Z
- https://api.deps.dev/v3/systems/npm/packages/string2compact/versions/2.0.2:dependencies — retrieved 2026-10-31T01:38:23.959Z