Skip to content
84 byte classname utility.
Branch: master
Clone or download
Latest commit 0e238a4 Nov 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
index.js
package-lock.json
package.json

README.md

nanoclass

84 byte classname utility.

Usage

import cx from 'nanoclass'

const cn = cx([
  'foo',
  true && 'bar',
  false && 'baz',
  0 ? 'qux' : 'quux'
])

console.log(cn) // => 'foo bar quux'

License

MIT License © Eric Bailey

You can’t perform that action at this time.