npm · npm:use-local-storage-state
use-local-storage-state 活跃
React hook that persist data in localStorage
use-local-storage-state 的最新稳定版本是 20.0.0,发布于 2026-07-16。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 20.0.0 |
|---|---|
| 发布时间 | 2026-07-16 10:35:44 UTC |
| 安装 | npm install use-local-storage-state@latest |
| 运行要求(engines) | {"node":">=14"} |
| Peer 依赖 | react >=18 react-dom >=18 |
| Dist 标签 | 17: 17.4.0 next: 18.0.0-0 latest: 20.0.0 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 13:38:14 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-07-16 10:35:44 UTC · 120 天前 |
| 过去 12 个月的稳定版本数 | 1 |
| 已发布版本数 | 84 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
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 |
显示 74 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
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 |
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
use-local-storage-state 的最新版本是什么?
use-local-storage-state 的最新稳定版本是 20.0.0,发布于 2026-07-16。Vigia 于 2026-11-12 核实。
如何安装 use-local-storage-state 的最新版本?
运行 npm install use-local-storage-state@latest。最新稳定版本是 20.0.0(2026-11-12 核实)。
use-local-storage-state 是否已弃用?
否。注册表中 use-local-storage-state 未被标记为已弃用。
use-local-storage-state 需要哪个版本的 Node.js?
use-local-storage-state 20.0.0 声明的要求为:{"node":">=14"}。
use-local-storage-state 20.0.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 use-local-storage-state 20.0.0。
use-local-storage-state 是否仍在维护?
use-local-storage-state 在过去 12 个月内发布了 1 个稳定版本,最近一次在 120 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- 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
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 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)
供智能体使用
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}