▲ A tiny(146B) module for making className at github.com▼3 up and 1 down, posted by troy-tae 1827 days ago 7 comments
troy-tae 1827 days ago. link 1 point ▲ ▼Oh I'm sorry. This library is for generating css class names. And this is the examples: ``` // arguments OneSpaces('cls1', 'cls2') === 'cls2 cls1'; // array OneSpaces(['cls1', 'cls2']) === 'cls2 cls1'; // exclude falsy OneSpaces(null, true && 'cls1', false && 'cls2') === 'cls1'; // mix OneSpaces('cls1', false && 'none', ['cls2']) === 'cls2 cls1'; ``` I'll reflect it in my github. Thank you :)