package
CSS coding style formatter
npm install csscombGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.

CSScomb is a coding style formatter for CSS. You can easily write your own configuration to make your style sheets beautiful and consistent.
The main feature is sorting properties in a specific order. It was inspired by @miripiruni's PHP-based tool of the same name. This is the new JavaScript version, based on the powerful CSS parser Gonzales PE.
Global installation (for use as a command-line tool):
npm install csscomb -gLocal installation (for use as a command-line tool within current directory):
npm install csscombTo install as a project dependency (the package will appear in your dependencies):
npm install csscomb --saveTo install as a dev dependency (the package will appear in your devDependencies):
npm install csscomb --save-devThere are a number of ways to configure CSScomb:
.csscomb.json file in the project root.*.css file as a templatecsscomb assets/cssvar Comb = require('csscomb');
var comb = new Comb('zen');
comb.processPath('assets/css');This project is actively mantained. But anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.
Also you can become a mantainer. To do that please ping @tonyganch.
Thanks for assistance and contributions:
@miripiruni, @anton-rudeshko, @cvrebert, @filtercake, @ignovak, @kizu, , , , , , ,
This software is released under the terms of the MIT license.
Estimated unpacked size across 17 packages.
6.3 MB
Includes dependencies.
6 direct · 4 outdated
0.4.19
0.4.20
0.3.6
0.3.6
1.2.0
1.2.8
3.0.4
11.0.8
4.2.4
4.3.0
^7.4.0
7.12.1