use-local-storage-state

React hook that persist data in localStorage

use-local-storage-state@20.0.0 was published on 2026-07-16. Its manifest declares 0 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.

All use-local-storage-state versions · Permanent reference to 20.0.0 · View npm registry JSON

Package specifications

Version20.0.0
License declarationMIT
Published2026-07-16T10:35:44.670Z
Node.js requirement>=14
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count2
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size17.55 KiB
Published file count7
Package typemodule
ES module entryNot declared
Default entryNot declared
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies0
Repository stars1233
Repository forks44

Install use-local-storage-state 20.0.0

npm install use-local-storage-state@20.0.0
pnpm add use-local-storage-state@20.0.0
yarn add use-local-storage-state@20.0.0

Runtime dependencies

  • None declared

Peer requirements

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    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.

    Binary-Artifacts10/10 — no binaries found in the repo
    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    Code-Review0/10 — Found 2/28 approved changesets -- score normalized to 0
    Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
    Maintained10/10 — 11 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
    Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Fuzzing0/10 — project is not fuzzed
    License10/10 — license file detected
    Branch-Protection0/10 — branch protection not enabled on development/release branches
    SAST0/10 — SAST tool is not run on all commits -- score normalized to 0
    Security-Policy0/10 — security policy file not detected

    Evidence and freshness