css-sws

0.2.13 • Public • Published

css-sws

Significant whitespace for styles

Usage

var sws = require('css-sws', options);
var out = sws('h1\n  color blue');
// out == `h1 {\n  color: blue;\n}`

Options

  • filename - no default
  • tabWidth - default 2
  • semiColon - default true

Install

npm i css-sws

License

MIT

Package Sidebar

Install

npm i css-sws

Weekly Downloads

4

Version

0.2.13

License

MIT

Last publish

Collaborators

  • mndvns
  • camshaft