GuobaGuoba Utils

Getting Started

A personal TypeScript utility library.

Installation

pnpm add @guoba-ai/utils

Usage

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

On this page