rattail
Version:
A Vite+ oriented, AI Agent friendly front-end toolchain
53 lines (45 loc) • 2.11 kB
Markdown
<div align="center">
<a href="https://rattail.varletjs.org">
<img src="https://rattail.varletjs.org/logo.svg" width="150">
</a>
<h1>Rattail</h1>
<p>A Vite+ oriented, AI Agent friendly front-end toolchain</p>
<p>
<a href="https://rattail.varletjs.org">Documentation</a> |
<a href="https://github.com/varletjs/rattail/blob/main/README.zh-CN.md">中文介绍</a>
</p>
<p>
<img src="https://img.shields.io/npm/v/rattail?style=flat-square" alt="version">
<img src="https://img.shields.io/github/stars/varletjs/rattail" alt="stars">
<img src="https://img.shields.io/npm/l/rattail.svg" alt="license">
<img src="https://img.shields.io/codecov/c/github/varletjs/rattail" alt="coverage">
</p>
</div>
---
### 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)