Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

beautify-proj

1.0.0 • Public • Published

beautify-proj Build Status Coverage Status Dependency Status Code Climate Issue Count

Uses js-beautify to beautify an entire directory, including its subdirectories.

Usage

beautify-proj -i dir [ -o dir ] -c js-beautify-config-file [ -e reg-ex ]

See js-beautify for JSON config file options.

Examples

Beautify ./scripts in place:

beautify-proj -i scripts -o . -c beautify.json

Beautify ./scripts in place and ignore *keep-ugly*

beautify-proj -i scripts -o . -c beautify.json -e keep-ugly

Beautify ./scripts and place beautified files in /tmp/scripts:

beautify-proj -i scripts -o /tmp -c beautify.json

Test for any ugly files (non-beautified) in scripts:

beautify-proj -i scripts -c beautify.json

install

npm i beautify-proj

Downloadsweekly downloads

20

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability