ksscomb
v1.0.8
Published
CSS coding style formatter with support for custom @includes
Downloads
10
Readme
CSScomb
1. Install
Global installation (for use as a command-line tool):
npm install ksscomb -g
Local installation (for use as a command-line tool within current directory):
npm install ksscomb
To install as a project dependency (the package will appear in your dependencies):
npm install ksscomb --save
To install as a dev dependency (the package will appear in your devDependencies):
npm install ksscomb --save-dev
2. Configure
There are a number of ways to configure kSScomb:
- Use one of predefined configs
- Put
.ksscomb.json
file in the project root. - Set path to config's file
- Use
*.css
file as a template
3. Use
Command Line
ksscomb assets/css
Node.js module
var Comb = require('ksscomb');
var comb = new Comb('kalon');
comb.processPath('assets/css');
License
This software is released under the terms of the MIT license.