{"id":41251,"library":"html-minifyify","title":"html-minifyify","description":"Browserify transform to inline calls to html-minifier during bundling. Version 1.0.0 (latest, no recent updates). Designed for older Browserify-based build pipelines; non-essential transform. Limited documentation and no maintenance since 2014. Alternative: use webpack with html-loader or direct html-minifier integration.","status":"deprecated","version":"1.0.0","language":"javascript","source_language":"en","source_url":"git://github.com/kesla/html-minifyify","tags":["javascript","browserify"],"install":[{"cmd":"npm install html-minifyify","lang":"bash","label":"npm"},{"cmd":"yarn add html-minifyify","lang":"bash","label":"yarn"},{"cmd":"pnpm add html-minifyify","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for HTML minification","package":"html-minifier","optional":false}],"imports":[{"note":"CommonJS only; used as Browserify transform, not imported directly in app code.","wrong":"import htmlMinifyify from 'html-minifyify' // ESM not supported","symbol":"transform","correct":"var htmlMinifyify = require('html-minifyify'); browserify().transform(htmlMinifyify)"},{"note":"Default export is the transform function.","wrong":"require('html-minifyify').default","symbol":"default","correct":"const plugin = require('html-minifyify')"}],"quickstart":{"code":"var browserify = require('browserify');\nvar htmlMinifyify = require('html-minifyify');\nvar b = browserify('./main.js');\nb.transform(htmlMinifyify, {htmlMinifierOptions: {removeComments: true}});\nb.bundle().pipe(process.stdout);","lang":"javascript","description":"Shows how to add html-minifyify as a Browserify transform with optional html-minifier options."},"warnings":[{"fix":"Consider using webpack with html-loader or direct html-minifier.","message":"Package is unmaintained since 2014.","severity":"deprecated","affected_versions":"*"},{"fix":"Run 'npm install html-minifier'.","message":"Requires html-minifier as a peer dependency; must be installed separately.","severity":"gotcha","affected_versions":"*"},{"fix":"Pass options as {htmlMinifierOptions: { ... }}.","message":"Options object must use 'htmlMinifierOptions' key; html-minifier options are nested.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'1.0.0':16 '2014':39 'altern':40 'base':26 'browserifi':4,25,54 'browserify-bas':24 'build':27 'bundl':14 'call':8 'design':21 'direct':48 'document':34 'essenti':31 'html':2,11,45,50 'html-loader':44 'html-minifi':10,49 'html-minifyifi':1 'inlin':7 'integr':52 'javascript':53 'latest':17 'limit':33 'loader':46 'mainten':37 'minifi':12,51 'minifyifi':3 'non':30 'non-essenti':29 'older':23 'pipelin':28 'recent':19 'sinc':38 'transform':5,32 'updat':20 'use':41 'version':15 'webpack':42","created_at":"2026-06-04T18:51:29.922613+00:00","updated_at":"2026-06-04T18:51:29.922613+00:00","problems":[{"fix":"npm install html-minifier","cause":"Missing peer dependency html-minifier.","error":"Module not found: Can't resolve 'html-minifier'"},{"fix":"Use require('html-minifyify') and pass directly to .transform()","cause":"Attempting to import as ESM or using wrong import pattern.","error":"TypeError: htmlMinifyify is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/kesla/html-minifyify","github":"git://github.com/kesla/html-minifyify","docs":null,"changelog":null,"pypi":null,"npm":"html-minifyify","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}