Docs / Installation
Installation
How to add a Kaab package to your project.
Good to know: every Kaab package installs the same way. Learn it once here.
Choose the setup that matches your starting point.
New project
Start from scratch and add your first package.
Existing project
Add a package to an app you already built.
No install
Try a package in the browser with one of the tools.
Requirements
- Node.js 22 or newer.
- A package manager (a program that downloads code for you): npm, pnpm or bun.
Install a package
Run one command in your project folder. This example adds the normalizer.
$ npm i @kaab/normalizer
Import and use
Import what you need at the top of your file.
import { normalize } from "@kaab/normalizer";
normalize("SOO dhawoow");
// "soo dhawoow"Kaab packages are ESM only. This means you load them with import, not with require.
Check the licence
Each package page shows its licence at the top.
MITApache-2.0Free to use, also in commercial projects.
CommercialNeeds a paid licence. Terms are on the package page.