Skip to main content

Choose your package manager

Kreisler packages are published on npm and can be installed using any Node.js package manager. All packages follow the naming convention @kreisler/package-name.
npm install @kreisler/package-name

Available packages

@kreisler/createapi

HTTP API client with proxy-based interface

@kreisler/try-catch

Functional error handling wrapper

@kreisler/debounce

Debounce utility with advanced features

@kreisler/js-helpers

Collection of JavaScript helper functions

@kreisler/js-cron

Cron task scheduler wrapper

@kreisler/exec-promise

Promise-based child process execution

@kreisler/dirname-for-module

ESM dirname helper for modules

@kreisler/bot-tl-ts

Telegram bot framework

@kreisler/bot-wa-ts

WhatsApp bot framework

@kreisler/anime-api

Anime API client

Installing multiple packages

You can install multiple Kreisler packages in a single command:
npm install @kreisler/createapi @kreisler/try-catch @kreisler/debounce

Requirements

All Kreisler packages require Node.js 16.x or higher. Some packages may have additional peer dependencies listed in their individual documentation.

Monorepo setup

If you’re working with a monorepo, you can install packages in specific workspaces:
npm install @kreisler/createapi --workspace=my-workspace

Module formats

1

ESM (ECMAScript Modules)

All packages support ESM imports:
import { createApi } from '@kreisler/createapi'
2

CommonJS

Most packages also support CommonJS:
const { createApi } = require('@kreisler/createapi')
3

TypeScript

All packages include TypeScript type definitions:
import { createApi, type ArgsCreateApi } from '@kreisler/createapi'

Verification

After installation, you can verify the package is correctly installed:
npm list @kreisler/createapi
This will display the installed version and its location in your project’s dependency tree.

Troubleshooting

If you encounter installation issues, try clearing your package manager’s cache:
  • npm: npm cache clean --force
  • yarn: yarn cache clean
  • pnpm: pnpm store prune

Common issues

Package not found Ensure you’re using the correct package name with the @kreisler/ scope:
# Correct
npm install @kreisler/createapi

# Incorrect
npm install createapi
Version conflicts If you’re experiencing version conflicts, you can specify an exact version:
npm install @kreisler/[email protected]

Next steps

Now that you’ve installed your packages, check out the Quickstart guide to start using them in your project.

Build docs developers (and LLMs) love