Utility functions, enums, and helpers powering the Karu ecosystem — built for reliability, modularity, and developer ease.
npm install kaeru-tools
or with yarn
yarn add kaeru-tools
Import what you need directly from the package — no subfolders required.
import KaruClient from "kaeru-tools";
const client = new KaruClient();
// Use client methods here
- Enums: Languages, SummaryLength, SummaryStyle, etc.
- Helpers: Utility functions like resolveLanguageFromLocale
- Classes: KaruClient — main client class for AI interactions and more.
Make sure to provide .env variables as needed — for example, API keys for Google Generative AI. Example .env:
GOOGLE_API_KEY=your_api_key_here
Run tests with:
npm run test
Make sure you have your environment variables and prompts configured correctly.