https://github.com/varletjs/rattail
A utilities library for front-end developers, lightweight and ts-friendly.
https://github.com/varletjs/rattail
javascript typescript utils
Last synced: about 2 months ago
JSON representation
A utilities library for front-end developers, lightweight and ts-friendly.
- Host: GitHub
- URL: https://github.com/varletjs/rattail
- Owner: varletjs
- License: mit
- Created: 2024-10-27T07:08:02.000Z (over 1 year ago)
- Default Branch: dev
- Last Pushed: 2026-03-21T14:27:52.000Z (3 months ago)
- Last Synced: 2026-03-21T21:27:48.799Z (3 months ago)
- Topics: javascript, typescript, utils
- Language: TypeScript
- Homepage: https://rattail.varletjs.org
- Size: 755 KB
- Stars: 58
- Watchers: 1
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
---
### Features
- ⚙️ Out-of-the-box [Vite+](https://viteplus.dev) presets covering linting, formatting, staged linting, git hooks, and more.
- 🔧 CLI toolkit for release, changelog, git hooks, commit lint, and API codegen.
- 🧰 140+ utility functions for general, string, number, array, object, math, and more.
- 🚀 Progressive HTTP client based on axios, with Vue Composition API support.
- 📏 Chainable validation rule factory that adapts to any UI framework.
- 🏷️ Type-safe enum utility.
- 🤖 Provides [Agent Skills](https://github.com/varletjs/rattail/tree/main/skills) for AI coding assistants to understand and use Rattail.
- 🌲 Tree-shakable, lightweight, and fully typed with TypeScript.
- 💪 90%+ unit test coverage.
- 📄 MIT licensed.
### Installation
```shell
# npm
npm i rattail -S
# yarn
yarn add rattail
# pnpm
pnpm add rattail
```
### Official Docs
- [Documentation Home](https://rattail.varletjs.org)
- [Getting Started](https://rattail.varletjs.org/getting-started)
- [Why Rattail](https://rattail.varletjs.org/why-rattail)
- [Vite+ Presets / CLI Getting Started](https://rattail.varletjs.org/cli/getting-started)
- [Axle Getting Started](https://rattail.varletjs.org/axle/getting-started)
- [Ruler Factory](https://rattail.varletjs.org/ruler/ruler-factory)