HTML Minifier
html-minifier-terser — strip comments, collapse whitespace, optional inline CSS/JS minify
html-minifier-terserv7.xhttps://github.com/terser/html-minifier-terser
Workspace
Local or server · same path as API
dev/html-minifyBefore
<div> <p>Hello</p> <span>Forge</span> </div>
After
—
Same path as API · OSS engine
API
forge.dev.html_minifySame contract as the page. Use an authenticated key in production.
curl -X POST 'https://forge.nebutra.com/v1/tools/dev/html-minify/invoke' \
-H 'Authorization: Bearer sk-sailor-…' \
-H 'Content-Type: application/json' \
-d '{
"example": true
}'
