1.0.1 • Published 3 years ago

@brainylab/classnames v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Class Name Validate and Convert

Package with utilities for the convert and validate class for css

Installation

Use the npm to install

npm install @brainylab/classname

Or use the yarn to install

yarn add @brainylab/classname

Usage

import { className } from '@brainylab/classname'

const classNameConverted = className('class', {class2: true, class3: false})

console.log(classNameConverted)

// return string 'class class2'

License

MIT