Skip to main content

Kreisler Packages

A powerful collection of TypeScript/JavaScript utilities, helper functions, and bot frameworks designed for modern Node.js applications

Key Features

Everything you need to build modern, robust JavaScript applications

🚀

Type-Safe API Client

Proxy-based API client with full TypeScript support for elegant, type-safe HTTP requests

🛡️

Functional Error Handling

Elegant try-catch wrappers that transform error handling into clean, functional code

⏱️

Advanced Debouncing

Debounce utility with immediate execution, flood detection, and lifecycle callbacks

Cron Task Management

Powerful wrapper for node-cron with TypeScript support and enhanced task control

🤖

Bot Frameworks

Ready-to-use frameworks for building Telegram and WhatsApp bots with TypeScript

🧰

Helper Functions

Extensive collection of utilities for strings, numbers, conversions, and more

Quick Start

Get up and running in minutes

1

Install your first package

Choose from our collection of utility packages. Here’s how to install the API client:
npm install @kreisler/createapi
2

Import and use

All packages are TypeScript-ready with full type definitions:
import { createApi } from '@kreisler/createapi';

// Create a type-safe API client
interface PokeAPI {
  pokemon: (name: string) => Promise<{ name: string; id: number }>;
}

const api = createApi<PokeAPI>('https://pokeapi.co/api/v2');
const pikachu = await api.pokemon('pikachu');
console.log(pikachu); // { name: "pikachu", id: 25 }
3

Explore more packages

Browse our complete collection of utilities:

Core Utilities

API client, debounce, error handling, and process execution

Helpers & Tools

String manipulation, conversions, cron tasks, and ESM utilities

Bot Frameworks

Build powerful Telegram and WhatsApp bots

API Reference

Complete API documentation for all packages

Ready to get started?

Explore our packages and start building better JavaScript applications today

View Quickstart Guide

Build docs developers (and LLMs) love