This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
beautify-proj with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Uses js-beautify to beautify an entire directory, including its subdirectories.
beautify-proj -i dir [ -o dir ] -c js-beautify-config-file [ -e reg-ex ]
See js-beautify for JSON config file options.
./scripts in place:
beautify-proj -i scripts -o . -c beautify.json
./scripts in place and ignore
beautify-proj -i scripts -o . -c beautify.json -e keep-ugly
./scripts and place beautified files in
beautify-proj -i scripts -o /tmp -c beautify.json
Test for any ugly files (non-beautified) in
beautify-proj -i scripts -c beautify.json