An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          





Rattail


A Vite+ oriented, AI Agent friendly front-end toolchain



Documentation |
中文介绍



version
stars
license
coverage
ci


---

### 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)