ky 2.0.1
Tiny and elegant HTTP client based on the Fetch API
ky@2.0.1 was published on 2026-04-14. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=22.
All ky versions · Permanent reference to 2.0.1 · Latest release
Package specifications
| Version | 2.0.1 |
|---|---|
| License declaration | MIT |
| Published | 2026-04-14T12:36:28.615Z |
| Node.js requirement | >=22 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 0 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 391.64 KiB |
| Published file count | 90 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | ./distribution/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | Unknown |
| Repository stars | 17137 |
| Repository forks | 504 |
Install ky 2.0.1
npm install ky@2.0.1 pnpm add ky@2.0.1 yarn add ky@2.0.1
Runtime dependencies
- None declared
Peer requirements
- None declared
Optional dependencies
- None declared
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.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Security-Policy | 9/10 — security policy file detected |
| Code-Review | 3/10 — Found 10/30 approved changesets -- score normalized to 3 |
| Maintained | 10/10 — 9 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| 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 |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Compare ky
Evidence and freshness
- https://registry.npmjs.org/ky/2.0.1 — retrieved 2026-10-29T07:36:02.476Z
- https://api.deps.dev/v3/projects/github.com%2Fsindresorhus%2Fky — retrieved 2026-10-29T05:09:51.369Z
- https://api.deps.dev/v3/systems/npm/packages/ky/versions/2.0.1 — retrieved 2026-10-29T07:36:03.007Z