{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/html-minifier-terser/","markdown":"https://findsoftware.frbit.cloud/html-minifier-terser.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"html-minifier-terser","name":"html-minifier-terser","urls":{"home":"https://terser.org/html-minifier-terser/","repository":"https://github.com/terser/html-minifier-terser","docs":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/README.md"},"category":["build-tool"],"description":"JavaScript HTML minifier that also minifies inline CSS and JavaScript, usable from the command line and from Node.js.","maintainer":"Daniel Ruf","firstRelease":2019,"hosting":null,"language":"javascript","runtime":["node"],"runtimeMin":"node 14","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":["local"],"renderingModes":null,"installMethod":"npm","licenseModel":"open-source","license":"MIT","currentMajor":"7","latestReleaseDate":"2023-04-11T00:00:00.000Z","githubStargazers":482,"contributors":95,"packagistDownloads":null,"npmWeeklyDownloads":23140394,"dependentRepos":1213814,"dependentPackages":463,"checkedAt":"2026-10-28T00:00:00.000Z","addedAt":"2026-10-28T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/terser/html-minifier-terser","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://terser.org/html-minifier-terser/","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/package.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/terser/html-minifier-terser","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"category","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/package.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtimeMin","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/package.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runsAs","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/package.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/terser/html-minifier-terser/blob/v7.2.0/LICENSE","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/terser/html-minifier-terser/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/terser/html-minifier-terser/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/terser/html-minifier-terser/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/terser/html-minifier-terser","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/terser/html-minifier-terser/contributors","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/html-minifier-terser","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/html-minifier-terser","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/html-minifier-terser","checkedAt":"2026-10-28T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"html-minifier-terser is a JavaScript HTML minifier. The npm package provides a command line tool and a Node.js function: the command line tool is installed globally with `npm install html-minifier-terser -g`, and the Node.js package is installed with `npm install html-minifier-terser`. Besides the markup, the package can minify the CSS and JavaScript inside a page, so it runs in a build step or on a developer's machine rather than on the live site.\n\nThe package describes itself as a fork of html-minifier, the earlier project by kangax. The [README](https://github.com/terser/html-minifier-terser/blob/v7.2.0/README.md) lists the options and the command line usage."}