css-whitespace
Version:
Whitespace significant CSS to regular CSS
22 lines (17 loc) • 332 B
JavaScript
/**
* Module dependencies.
*/
var parse = require('./lib/parser');
var compile = require('./lib/compiler');
/**
* Compile a whitespace significant
* `str` of CSS to the valid CSS
* equivalent.
*
* @param {String} str
* @return {String}
* @api public
*/
module.exports = function(str){
return compile(parse(str));
};