@complex-suite/utils
Advanced tools
+3
-0
@@ -0,1 +1,4 @@ | ||
| ### 3.0.8 | ||
| - docs: 更新子包 README 安装命令,修正旧包名 `complex-*` 为 `@complex-suite/*`。 | ||
| ### 3.0.7 | ||
@@ -2,0 +5,0 @@ - feat(locale): 导出消息类型并改用 vue-tsc 进行类型检查。 |
+1
-1
| { | ||
| "name": "@complex-suite/utils", | ||
| "version": "3.0.7", | ||
| "version": "3.0.8", | ||
| "description": "a complex utils", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+9
-9
| # Complex-Utils | ||
| `complex-utils` 是一个功能强大且全面的 TypeScript/JavaScript 工具库,旨在为现代Web开发提供一组高效、可靠的辅助函数和类。 | ||
| `@complex-suite/utils` 是一个功能强大且全面的 TypeScript/JavaScript 工具库,旨在为现代Web开发提供一组高效、可靠的辅助函数和类。 | ||
@@ -15,3 +15,3 @@ ## ✨ 功能特性 | ||
| ```bash | ||
| npm install complex-utils | ||
| npm install @complex-suite/utils | ||
| ``` | ||
@@ -28,3 +28,3 @@ | ||
| ```javascript | ||
| import { Life } from 'complex-utils'; | ||
| import { Life } from '@complex-suite/utils'; | ||
@@ -50,3 +50,3 @@ const life = new Life(); | ||
| ```javascript | ||
| import { Limit } from 'complex-utils'; | ||
| import { Limit } from '@complex-suite/utils'; | ||
@@ -71,3 +71,3 @@ // 黑名单模式 (默认) | ||
| ```javascript | ||
| import { debounce } from 'complex-utils'; | ||
| import { debounce } from '@complex-suite/utils'; | ||
@@ -87,3 +87,3 @@ window.addEventListener( | ||
| ```javascript | ||
| import { throttle } from 'complex-utils'; | ||
| import { throttle } from '@complex-suite/utils'; | ||
@@ -105,3 +105,3 @@ window.addEventListener( | ||
| ```javascript | ||
| import { deepClone } from 'complex-utils'; | ||
| import { deepClone } from '@complex-suite/utils'; | ||
@@ -122,3 +122,3 @@ const obj = { a: 1, b: { c: new Date() } }; | ||
| ```javascript | ||
| import { formatTree } from 'complex-utils'; | ||
| import { formatTree } from '@complex-suite/utils'; | ||
@@ -152,3 +152,3 @@ const list = [ | ||
| ```javascript | ||
| import { getComplexProp } from 'complex-utils'; | ||
| import { getComplexProp } from '@complex-suite/utils'; | ||
@@ -155,0 +155,0 @@ const user = { |
215724
0.08%