UNPKG

@yookue/ts-lang-utils

Version:

Common lang utilities for typescript

106 lines (66 loc) 2.61 kB
# @yookue/ts-lang-utils [![NPM version](https://img.shields.io/npm/v/@yookue/ts-lang-utils.svg?style=flat)](https://npmjs.org/package/@yookue/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/@yookue/ts-lang-utils.svg?style=flat)](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)