cleanup-html
v0.5.0
Published
A utility which automatically cleans up dirty HTML
Readme
cleanup-html
A command-line utility which automatically helps you to clean up dirty HTML.
Features
- Convert inline
styleattributes to CSS rules - Convert inline
on...attributes to JS event listeners - Format HTML, CSS, and JS
Usage
Usage: cleanup-html [options]
Options:
-v, -V, --version output the version number
-i, --input <path> input file path
-o, --output <path> output file path
--short-listeners reference callbacks in addEventListener
-h, --help display help for command