Utility functions, enums, and helpers powering the Karu ecosystem — built for reliability, modularity, and developer ease.
npm install kaeru-toolsor with yarn
yarn add kaeru-toolsImport what you need directly from the package — no subfolders required.
import KaruAssistant from "kaeru-tools";
const client = new KaruAssistant();
// Use client methods here- Enums: Languages, SummaryLength, SummaryStyle, etc.
- Helpers: Utility functions like resolveLanguageFromLocale
- Classes: KaruAssistant — 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_hereRun tests with:
npm run testMake sure you have your environment variables and prompts configured correctly.