css-add-semis
v1.2.0
Published
Tiny function to add semicolons to a CSS string.
Downloads
14
Readme
css-add-semis
Tiny function to add semicolons to a CSS string.
Install
npm i --save css-add-semis
Usage
import addSemis from 'css-add-semis'
console.log(addSemis(`
.exampleClass {
font-size: 100px
margin: 2rem 0
}
`))
Outputs:
.exampleClass {
font-size: 100px;
margin: 2rem 0;
}