nuko
v0.0.4
Published
にゃーん
Downloads
7
Readme
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