0.5.0 • Published 1 year ago

cleanup-html v0.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

cleanup-html

A command-line utility which automatically helps you to clean up dirty HTML.

Features

  • Convert inline style attributes 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