0.0.4 • Published 2 years ago

nuko v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

nuko

Simple constructing className function.

Nuko means cat in Japan.

How to use

I recommend you to copy src/index.ts to your project directly.

Or if you want to use it as node_module, run

$ npm install nuko

And use it.

import { cn } from "nuko";

cn(["a", 0, null, undefined, false, true, "b"]); // a b

cn({ foo: true, bar: false, baz: true }); // foo baz