csscomb
CSS coding style formatter
Last updated 13 years ago by mishanga .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install csscomb 
SYNC missed versions from official npm registry.

CSScomb CSSComb

Build Status NPM version Dependency Status devDependency Status

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.

1. Install

Global installation (for use as a command-line tool):

npm install csscomb -g

Local installation (for use as a command-line tool within current directory):

npm install csscomb

To install as a project dependency (the package will appear in your dependencies):

npm install csscomb --save

To install as a dev dependency (the package will appear in your devDependencies):

npm install csscomb --save-dev

2. Configure

There are a number of ways to configure CSScomb:

  • Use one of predefined configs
  • Put .csscomb.json file in the project root.
  • Set path to config's file
  • Use *.css file as a template

3. Use

Command Line

csscomb assets/css

Node.js module

var Comb = require('csscomb');
var comb = new Comb('zen');
comb.processPath('assets/css');

4. Contribute

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.

Authors

@mishanga, @tonyganch

Thanks for assistance and contributions:

@miripiruni, @anton-rudeshko, @cvrebert, @filtercake, @ignovak, @kizu, @lefoy, @L0stSoul, @mishaberezin, @puzankov, @schneyra, @thejameskyle, @vecmezoni

License

This software is released under the terms of the MIT license.

Other projects

Current Tags

  • 4.3.0                                ...           latest (7 years ago)

45 Versions

  • 4.3.0                                ...           7 years ago
  • 4.2.0                                ...           9 years ago
  • 4.1.0                                ...           9 years ago
  • 4.0.1                                ...           9 years ago
  • 4.0.0                                ...           9 years ago
  • 4.0.0-alpha                                ...           10 years ago
  • 3.1.8                                ...           11 years ago
  • 3.1.7                                ...           11 years ago
  • 3.1.6                                ...           11 years ago
  • 3.1.5                                ...           11 years ago
  • 3.1.4                                ...           11 years ago
  • 3.1.3                                ...           11 years ago
  • 3.1.2                                ...           11 years ago
  • 3.1.1                                ...           11 years ago
  • 3.1.0                                ...           11 years ago
  • 3.0.4                                ...           11 years ago
  • 3.0.3                                ...           12 years ago
  • 3.0.2                                ...           12 years ago
  • 3.0.1                                ...           12 years ago
  • 3.0.0                                ...           12 years ago
  • 3.0.0-4                                ...           12 years ago
  • 3.0.0-3                                ...           12 years ago
  • 3.0.0-2                                ...           12 years ago
  • 3.0.0-1                                ...           12 years ago
  • 2.0.5                                ...           12 years ago
  • 2.0.4                                ...           12 years ago
  • 2.0.3                                ...           12 years ago
  • 2.0.1                                ...           12 years ago
  • 2.0.0                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
  • 0.1.0                                ...           13 years ago
  • 0.0.15                                ...           13 years ago
  • 0.0.14                                ...           13 years ago
  • 0.0.13                                ...           13 years ago
  • 0.0.12                                ...           13 years ago
  • 0.0.11                                ...           13 years ago
  • 0.0.10                                ...           13 years ago
  • 0.0.9                                ...           13 years ago
  • 0.0.8                                ...           13 years ago
  • 0.0.7                                ...           13 years ago
  • 0.0.6                                ...           13 years ago
  • 0.0.5                                ...           13 years ago
  • 0.0.4                                ...           13 years ago
  • 0.0.3                                ...           13 years ago
  • 0.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 11
Last Month 7
Dependencies (5)
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |