SWR 0.1.8
React Hooks library for remote data fetching
swr@0.1.8 was published on 2019-11-06. Its manifest declares 3 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All SWR versions · Permanent reference to 0.1.8 · Latest release
Package specifications
| Version | 0.1.8 |
|---|---|
| License declaration | MIT |
| Published | 2019-11-06T20:18:43.676Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 43.17 KiB |
| Published file count | 25 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 32494 |
| Repository forks | 1400 |
Install SWR 0.1.8
npm install swr@0.1.8 pnpm add swr@0.1.8 yarn add swr@0.1.8
Runtime dependencies
- ms 2.1.2
- fast-deep-equal 2.0.1
- lodash.throttle 4.1.1
Peer requirements
- react 16.11.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- fast-deep-equal@2.0.1 — direct
- lodash.throttle@4.1.1 — direct
- ms@2.1.2 — 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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 6/10 — Found 20/30 approved changesets -- score normalized to 6 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Maintained | 10/10 — 23 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 10/10 — license file detected |
| 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/swr/0.1.8 — retrieved 2026-10-29T08:46:04.409Z
- https://api.deps.dev/v3/projects/github.com%2Fvercel%2Fswr — retrieved 2026-10-29T05:09:02.666Z
- https://api.deps.dev/v3/systems/npm/packages/swr/versions/0.1.8:dependencies — retrieved 2026-10-29T08:46:04.984Z
- https://api.deps.dev/v3/systems/npm/packages/swr/versions/0.1.8 — retrieved 2026-10-29T08:46:04.960Z