@yookue/ts-lang-utils
Version:
Common lang utilities for typescript
106 lines (66 loc) • 2.61 kB
Markdown
# @yookue/ts-lang-utils
[](https://npmjs.org/package/@yookue/ts-lang-utils)
[](LICENSE.txt)
[](https://npmjs.org/package/@yookue/ts-lang-utils)
🏅 为 typescript 而生的 common lang 工具库 👍
## 特性
✅ array 工具库
✅ boolean 工具库
✅ color 工具库
✅ date time 工具库
✅ duration 工具库
✅ element 工具库
✅ file 工具库
✅ image 工具库
✅ json 工具库
✅ map 工具库
✅ nanoid 工具库
✅ number 工具库
✅ object 工具库
✅ random 工具库
✅ regex 工具库
✅ string 工具库
✅ thread 工具库
✅ tree 工具库
✅ uri 工具库
✅ cookie storage 工具库
✅ local storage 工具库
✅ session storage 工具库
## 快速开始
您可以在您的 typescript 项目中使用以下命令来安装工具库:
```bash
$ npm install @yookue/ts-lang-utils --save
```
然后,您可以使用以下命令来导入组件:
```jsx | pure
import {ArrayUtils} from '@yookue/ts-lang-utils';
import {BooleanUtils} from '@yookue/ts-lang-utils';
import {ColorUtils} from '@yookue/ts-lang-utils';
import {DateUtils} from '@yookue/ts-lang-utils';
import {DurationUtils} from '@yookue/ts-lang-utils';
import {ElementUtils} from '@yookue/ts-lang-utils';
import {FileUtils} from '@yookue/ts-lang-utils';
import {ImageUtils} from '@yookue/ts-lang-utils';
import {JsonUtils} from '@yookue/ts-lang-utils';
import {MapUtils} from '@yookue/ts-lang-utils';
import {NanoidUtils} from '@yookue/ts-lang-utils';
import {NumberUtils} from '@yookue/ts-lang-utils';
import {ObjectUtils} from '@yookue/ts-lang-utils';
import {RandomUtils} from '@yookue/ts-lang-utils';
import {RegexUtils} from '@yookue/ts-lang-utils';
import {StringUtils} from '@yookue/ts-lang-utils';
import {ThreadUtils} from '@yookue/ts-lang-utils';
import {TreeUtils} from '@yookue/ts-lang-utils';
import {CookieStorage} from '@yookue/ts-lang-utils';
import {LocalStorage} from '@yookue/ts-lang-utils';
import {SessionStorage} from '@yookue/ts-lang-utils';
```
享受您和 `ts-lang-utils` 的编程之旅吧 ✌️
## 文档
- GitHub: [https://yookue.github.io/ts-lang-utils](https://yookue.github.io/ts-lang-utils)
## 授权
本工具库授权基于 [MIT License](https://mit-license.org/) 协议
## 版权
北京攸科网络科技有限公司
## 网站
- Yookue: [https://yookue.com](https://yookue.com)