@bscop/css-class
v1.0.1
Published
Format string to be a valid class name.
Downloads
12
Readme
css-class
Format string to be a valid class name.
Install
npm i @bscop/css-class
Usage
import cssClass from "@bscop/css-class";
cssClass("btn", { "btn-disabled": true }); // btn btn-disabled
Contribute
Read the guidelines.
Run tests
npm test
Coverage
Coverage reports are hosted on codecov.
npm run badge:coverage -- --token=<guid>
Bruno Scopelliti
www.brunoscopelliti.com