Getting Started
A personal TypeScript utility library.
Installation
pnpm add @guoba-ai/utilsUsage
import { toArray, isString, capitalize } from '@guoba-ai/utils'
toArray(1) // [1]
isString('hello') // true
capitalize('hello') // 'Hello'Features
- Pure ESM, tree-shakable
- Fully typed with TSDoc
- Zero dependencies