pretty-styl
v0.0.5
Published
Simple coding style formatter for stylus
Downloads
9
Readme
#pretty-styl
pretty-styl is a simple coding style formatter for stylus. You can easily make your style sheets beautiful and consistent.
1. Install
Local installation (for use as a command-line tool within current directory):
npm install pretty-styl
To install as a project dependency (the package will appear in your dependencies):
npm install pretty-styl --save
To install as a dev dependency (the package will appear in your devDependencies):
npm install pretty-styl --save-dev
2. Use
Command Line
If you installed the package locally, use local bin file instead:
./node_modules/bin/pretty-styl --path assets/css
Node.js module
var Formatter = require('pretty-styl');
var formatter = new Formatter('zen');
formatter.process('assets/css');
License
This software is released under the terms of the MIT license.
Other projects
- https://github.com/csscomb/csscomb.js
- https://github.com/senchalabs/cssbeautify
- https://github.com/css/gonzales
- https://github.com/tonyganch/gonzales-pe
- https://github.com/css/csso
- https://github.com/nzakas/parser-lib