cleanup-html

0.5.0 • Public • Published

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

/cleanup-html/

    Package Sidebar

    Install

    npm i cleanup-html

    Weekly Downloads

    2

    Version

    0.5.0

    License

    MIT

    Unpacked Size

    15.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • lebsterface