join-classnames

1.0.1 • Public • Published

Join Class Names

A micro function that accepts n arguments, removes falsey & non-string args, and joins them separated by space.

import join from 'join-classnames';

join('a', true===false & 'b', 'c'); // "a c";

Micro? the docs have more chars than the code ¯\(ツ)

Readme

Keywords

none

Package Sidebar

Install

npm i join-classnames

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • tuxsudo