npm · npm:use-local-storage-state
use-local-storage-state active
React hook that persist data in localStorage
The latest stable version of use-local-storage-state is 20.0.0, published on 2026-07-16. Verified by Vigia on 2026-11-12.
| Latest stable version | 20.0.0 |
|---|---|
| Published | 2026-07-16 10:35:44 UTC |
| Install | npm install use-local-storage-state@latest |
| Requires (engines) | {"node":">=14"} |
| Peer dependencies | react >=18 react-dom >=18 |
| Dist-tags | 17: 17.4.0 next: 18.0.0-0 latest: 20.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:38:14 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-07-16 10:35:44 UTC · 119 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 84 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
20.0.0 | 2026-07-16 10:35:44 UTC |
19.5.0 | 2024-11-13 11:18:39 UTC |
19.4.1 | 2024-10-10 07:43:52 UTC |
17.4.0 | 2024-10-10 07:42:01 UTC |
19.4.0 | 2024-08-08 06:33:23 UTC |
19.3.1 | 2024-06-12 10:07:29 UTC |
19.3.0 | 2024-06-06 08:22:07 UTC |
19.2.0 | 2024-03-26 12:04:23 UTC |
19.1.0 | 2023-09-19 07:28:05 UTC |
19.0.4 | 2023-08-16 11:06:40 UTC |
19.0.3 | 2023-08-16 11:04:03 UTC |
19.0.2 | 2023-08-13 05:35:31 UTC |
19.0.1 | 2023-08-13 05:20:20 UTC |
19.0.0 | 2023-08-13 04:58:16 UTC |
18.3.3 | 2023-05-18 11:18:50 UTC |
18.3.2 | 2023-04-10 11:10:55 UTC |
18.3.1 | 2023-04-10 07:07:16 UTC |
18.3.0 | 2023-04-06 05:33:28 UTC |
18.2.1 | 2023-03-07 06:01:12 UTC |
17.3.0 | 2023-03-06 11:56:22 UTC |
Showing the 20 most recent of 74 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 20.0.0 |
node 18 | 20.0.0 |
node 20 | 20.0.0 |
node 22 | 20.0.0 |
node 24 | 20.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of use-local-storage-state?
The latest stable version of use-local-storage-state is 20.0.0, published on 2026-07-16. Verified by Vigia on 2026-11-12.
How do I install the latest version of use-local-storage-state?
Run npm install use-local-storage-state@latest. The latest stable version is 20.0.0 (verified 2026-11-12).
Is use-local-storage-state deprecated?
No. use-local-storage-state is not marked as deprecated in the registry.
Which Node.js version does use-local-storage-state require?
use-local-storage-state 20.0.0 declares this requirement: {"node":">=14"}.
Does use-local-storage-state 20.0.0 have known vulnerabilities?
No known advisories affect use-local-storage-state 20.0.0 according to the data Vigia checks.
Is use-local-storage-state still maintained?
use-local-storage-state published 1 stable releases in the last 12 months; the most recent was 119 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- react
- react-dom
- @cloudflare/workerd-darwin-64
- @aws-sdk/client-codepipeline
- @capsizecss/core
- @segment/analytics-react-native
- @testcontainers/toxiproxy
- pepper-scanner
- @stdlib/os-byte-order
- @types/simple-oauth2
- strongly-connected-components
- @json-render/react
- @loaders.gl/mvt
- cleave.js
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/use-local-storage-state) [](https://vigia.coredls.cloud/npm/use-local-storage-state) [](https://vigia.coredls.cloud/npm/use-local-storage-state)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/use-local-storage-state
GET https://vigia.coredls.cloud/v1/packages/npm/use-local-storage-state/versions/{version}