Skip to content

Paul-Browne/npm-prettify-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettify-source

prettify all the files in the source directory. prettify-source is quite efficient, it will only prettify files that:

  1. have changed (or been created)
  2. can be prettified (html, css, scss, sass, less, js and json)
  3. 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.

About

prettify all the files in the source directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published