Nakshora 2.0 can be added to any project in under a minute. Pick the path that matches your stack below — every command is tested against this release.

npm#

terminal
bash
npm install nakshora

From source#

v2 generates CSS programmatically, so "installing" really means wiring the generator into your build:

build.mjs
js
import { CSSGenerator } from 'nakshora';

const css = new CSSGenerator({
  theme: { /* optional overrides */ },
}).generate({ minify: true });

// write css to disk, or pipe it into your pipeline

What you get#

  • CSSGenerator — the typed CSS generation engine
  • Five theme presets: neonCyberTheme, pastelDreamTheme, brutalistTheme, minimalistTheme, natureTheme
  • TypeScript declarations for the whole config surface
  • ESM bundle with source maps