-
Notifications
You must be signed in to change notification settings - Fork 0
NPM module to easily beautify directories of source code
License
bearjaws/dotbeautify
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
dotbeautify, uses js-beautify on given directories to automatically formatcode
USEAGE:
var dotBeautify = require('dotbeautify');
dotBeautify.beautify(['./lib/']);
If you want to use it as a pre commit hook and block any unbeautified code,
simply add it to your git pre commit hook with the --pre-commit switch, this
will throw an exception which will block the commit.
All source code will be automatically beautified by js-beautify
Also allows you to pass in second {options} object as defined by
https://github.com/beautify-web/js-beautify#options
About
NPM module to easily beautify directories of source code
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published