pretty-inplace

1.0.2 • Public • Published

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-inplace

Usage

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.js

You 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 ./*

Credits

Geza Kovacs

Readme

Keywords

Package Sidebar

Install

npm i pretty-inplace

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • geza