Skip to content

Tiny function to add semicolons to a CSS string.

Notifications You must be signed in to change notification settings

joshwnj/css-add-semis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;
  }

About

Tiny function to add semicolons to a CSS string.

Resources

Stars

Watchers

Forks

Packages

No packages published