更新 README.md
Node.js Build / build (push) Failing after 19s

This commit is contained in:
2026-06-23 21:32:35 +08:00
parent 1220fafc61
commit 108ab063ef
+4 -4
View File
@@ -5,7 +5,7 @@
## 安装 ## 安装
```bash ```bash
npm install windychen-untils npm install windychen-utils
``` ```
## 使用 ## 使用
@@ -13,7 +13,7 @@ npm install windychen-untils
### Node.js / Bun.js ### Node.js / Bun.js
```javascript ```javascript
require('windychen-untils'); require('windychen-utils');
// Object 扩展 // Object 扩展
const obj = { a: { b: { c: 1 } } }; const obj = { a: { b: { c: 1 } } };
@@ -33,7 +33,7 @@ obj.setPro('x.y.z', 'hello');
### ES Module ### ES Module
```javascript ```javascript
import from 'windychen-untils/dist/windychen-utils.esm.js'; import from 'windychen-utils/dist/windychen-utils.esm.js';
``` ```
## API 参考 ## API 参考
@@ -80,7 +80,7 @@ arr.findPro(item => item.id > 1);
- 仅支持 localStorage → 使用 `ILocalStorage`(内存缓存) - 仅支持 localStorage → 使用 `ILocalStorage`(内存缓存)
```javascript ```javascript
import storage from 'windychen-untils'; import storage from 'windychen-utils';
await storage.set('key', { data: 123 }); await storage.set('key', { data: 123 });
await storage.get('key', null); // { data: 123 } await storage.get('key', null); // { data: 123 }