DOCUMENTATION

Installation

The best way to start with Nalth is using the create command. This will set up a new project with all the default security configurations in place.

bash
npm create nalth@latest my-secure-app

You can also use Yarn, pnpm, or Bun:

bash
yarn create nalth my-secure-app
bash
pnpm create nalth@latest my-secure-app
bash
bun create nalth@latest my-secure-app

Already have a Vite project? You can add Nalth incrementally:

bash
npm install -D nalth

System Requirements

  • Node.js 18.0 or later
  • MacOS, Windows (WSL recommended), or Linux