0.0.4 • Published 12 years ago
css-concat v0.0.4
CSS Concat
This module is not intended to do any minification or compression. It's just supposed to concatenate @imported CSS files together and doing it properly. This applies to the relative paths to images as well.
While npm isn't needed for this module to work, I highly recommend it - it makes managing your modules and it's dependencies very comfortable.
Installation
npm install -g css-concat
From command-line
CSS Concat reads from input.css
and writes to output.css
. If you don't specify output.css
explicitly, it will write to input-out.css
.
css-concat [input.css] [output.css]
From another node-module
Calling concat with the path to your CSS file, you will get a string containing the same output as the command-line version, including comments.
var cssConcat = require('css-concat'),
outputString = cssConcat.concat('path/to/your.css');