Skip to content

Getting Started

Overview

Rattail is a Vite+ oriented, AI Agent friendly front-end toolchain.

Features

  • ⚙️   Out-of-the-box Vite+ 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 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 i rattail -S
shell
yarn add rattail
shell
pnpm add rattail