htmlnano

v2.1.1
Modular HTML minifier, built on top of the PostHTML
posthtml posthtml-plugin html postproccessor minifier

clean

rimraf lib/*.cjs lib/**/*.cjs

compile

npm run clean && babel -d lib/ lib/ --out-file-extension .cjs

lint

eslint --fix *.mjs lib/*.mjs lib/**/*.mjs test/*.mjs test/**/*.mjs

pretest

npm run lint && npm run compile

test

:

posttest

mocha --timeout 5000 --require @babel/register --recursive --check-leaks --globals addresses

prepare

npm run compile
npm i htmlnano

Metadata

  • MIT
  • Whatever
  • Kirill Maltsev
  • released 4/28/2024

Downloads

Maintainers