turbo-utils
是采用 pnpm + monorepo 开发模式的工具包项目;基于 TypeScript
、React
、Taro
等开发与封装,由个人不定时开发维护。支持按需引入。
- Easy to learn and use.
- Contains common hooks and encapsulates common apis.
- Written in TypeScript with predictable static types.
- zustand is recommended as a state management tool.
- High performance.
现有纯工具函数库 turboutils
、基于React封装的常用工具、hooks库 @turbotools/react
和基于Taro封装的常用tools、hooks库 @turbotools/taro
。
$ npm install --save turboutils | @turbotools/react | @turbotools/taro
# or
$ pnpm add turboutils | @turbotools/react | @turbotools/taro `推荐`
# or
$ yarn add turboutils | @turbotools/react | @turbotools/taro
import { ... } from 'turboutils | @turbotools/react | @turbotools/taro';
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
MIT