prettify-source
v2.1.2
Published
prettify all the files in the source directory
Downloads
3
Readme
prettify-source
prettify all the files in the source directory. prettify-source is quite efficient, it will only prettify files that:
- have changed (or been created)
- can be prettified (html, css, scss, sass, less, js and json)
- need to be prettified - they might already be beautiful! :)
usage
npm i prettify-source
or
npm i -D prettify-source
const prettifySrc = require("prettify-source");
prettifySrc("path/to/source/directory");
Good to add as part of a watch script.