Skip to content

strange-life/clns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clns

A utility for constructing className strings conditionally, made for fun and for my own use.

import { clns } from "@madahapa/clns";
// import clns from "@madahapa/clns";

clns("foo", true && "bar", false && "baz"); // "foo bar"
clns("bar", { foo: true, bar: false, baz: true }); // "bar foo baz"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published