pretty-inplace
v1.0.2
Published
runs prettier on the input file and replaces it with the prettified version
Readme
pretty-inplace
Supply a list of files and they will be prettified in-place using prettier. If you want to then minify them, use babili-inplace or uglify-inplace
Install
npm install -g pretty-inplaceUsage
Supply a list of files and they will be prettified. For example, the following will overwrite index.js with a prettified version.
pretty-inplace index.jsYou can also use wildcards. It will only prettify Javascript files ending in .js and ignore other files. For example, to prettify all javascipt files in the current directory:
pretty-inplace ./*