Skip to Content
Docs menu

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.

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.

Next steps

On this page

Learn to build this

Kaab is built by Ardaykaab Academy students and mentors.

Visit the Academy