html-minifier-terser

node v14.20.1
version: 1.0.0
endpointsharetweet
const { minify } = require('html-minifier-terser'); const result = minify(` <div id="app" class="container"> <aside class="app-menu">Menu</aside> <main class="app-content">Content area</main> </div> `, { removeAttributeQuotes: true }); console.log(result);
Loading…

no comments

    sign in to comment