Skip to content

A utilities library for front-end developers, lightweight and ts-friendly.

License

Notifications You must be signed in to change notification settings

varletjs/rattail

Repository files navigation

Rattail

A utilities library for front-end developers, lightweight and ts-friendly.

Documentation | 中文介绍

version stars license coverage ci


Features

  • 🛠️   Provide utilities frequently used in daily development
  • 🛠️   Utilities implementation is very lightweight
  • 🛠️   Written based on ts, providing complete ts types
  • 💪   Make sure more than 99% unit test coverage, providing stability assurance

Installation

# npm
npm i rattail -S
# yarn
yarn add rattail
# pnpm
pnpm add rattail

Usage

import { isString } from 'rattail'

isString('rattail') // return true
isString(123) // return false