UNPKG

@unikue/ts-lang-utils

Version:
106 lines (66 loc) 2.62 kB
# @unikue/ts-lang-utils [![NPM version](https://img.shields.io/npm/v/@unikue/ts-lang-utils.svg?style=flat)](https://npmjs.org/package/@unikue/ts-lang-utils) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.txt) [![NPM downloads](http://img.shields.io/npm/dm/@unikue/ts-lang-utils.svg?style=flat)](https://npmjs.org/package/@unikue/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 @unikue/ts-lang-utils --save ``` 然后,您可以使用以下命令来导入组件: ```jsx | pure import {ArrayUtils} from '@unikue/ts-lang-utils'; import {BooleanUtils} from '@unikue/ts-lang-utils'; import {ColorUtils} from '@unikue/ts-lang-utils'; import {DateUtils} from '@unikue/ts-lang-utils'; import {DurationUtils} from '@unikue/ts-lang-utils'; import {ElementUtils} from '@unikue/ts-lang-utils'; import {FileUtils} from '@unikue/ts-lang-utils'; import {ImageUtils} from '@unikue/ts-lang-utils'; import {JsonUtils} from '@unikue/ts-lang-utils'; import {MapUtils} from '@unikue/ts-lang-utils'; import {NanoidUtils} from '@unikue/ts-lang-utils'; import {NumberUtils} from '@unikue/ts-lang-utils'; import {ObjectUtils} from '@unikue/ts-lang-utils'; import {RandomUtils} from '@unikue/ts-lang-utils'; import {RegexUtils} from '@unikue/ts-lang-utils'; import {StringUtils} from '@unikue/ts-lang-utils'; import {ThreadUtils} from '@unikue/ts-lang-utils'; import {TreeUtils} from '@unikue/ts-lang-utils'; import {CookieStorage} from '@unikue/ts-lang-utils'; import {LocalStorage} from '@unikue/ts-lang-utils'; import {SessionStorage} from '@unikue/ts-lang-utils'; ``` 享受您和 `ts-lang-utils` 的编程之旅吧 ✌️ ## 文档 - GitHub: [https://unikueltd.github.io/ts-lang-utils](https://unikueltd.github.io/ts-lang-utils) ## 授权 本工具库授权基于 [MIT License](https://mit-license.org/) 协议 ## 版权 北京攸科网络科技有限公司 ## 网站 - Unikue: [https://unikue.cn](https://unikue.cn)