{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/tdewolff-minify/","markdown":"https://findsoftware.frbit.cloud/tdewolff-minify.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":"tdewolff-minify","name":"minify","urls":{"home":"https://go.tacodewolff.nl/minify","repository":"https://github.com/tdewolff/minify","docs":"https://github.com/tdewolff/minify/blob/master/README.md"},"category":["build-tool"],"description":"Go library and command-line tool that minifies HTML, CSS, JavaScript, JSON, SVG and XML.","maintainer":"Taco de Wolff","maintainerType":"individual","firstRelease":2015,"hosting":null,"language":"go","runtimeMin":null,"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":["local"],"renderingModes":null,"installMethod":"go get","licenseModel":"open-source","license":"MIT","currentMajor":"2","latestReleaseDate":"2026-10-26T00:00:00.000Z","githubStargazers":4149,"contributors":51,"packagistDownloads":null,"npmWeeklyDownloads":null,"checkedAt":"2026-10-28T00:00:00.000Z","addedAt":"2026-10-28T00:00:00.000Z","sources":[{"field":"urls","url":"https://go.tacodewolff.nl/minify","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/tdewolff/minify","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://github.com/tdewolff/minify/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"category","url":"https://github.com/tdewolff/minify/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runsAs","url":"https://github.com/tdewolff/minify/blob/v2.24.24/cmd/minify/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/tdewolff/minify","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/tdewolff/minify","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"licenseModel","url":"https://raw.githubusercontent.com/tdewolff/minify/v2.24.24/LICENSE","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/v2.24.24/cmd/minify/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/v2.24.24/cmd/minify/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/v2.24.24/cmd/minify/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/v2.24.24/cmd/minify/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/tdewolff/minify/blob/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/tdewolff/minify/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/tdewolff/minify/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/tdewolff/minify/releases/latest","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/tdewolff/minify/v2.24.24/LICENSE","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/tdewolff/minify","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/tdewolff/minify/contributors?per_page=1","checkedAt":"2026-10-28T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"minify is a Go library and command-line tool that minifies HTML, CSS, JavaScript, JSON, SVG and XML. The library associates media types with minifier functions, so CSS and JavaScript embedded in an HTML file are minified along with it, and a user can add minifiers for other types. The command-line tool is a separate build of the same library, installed through go install, a prebuilt binary, Homebrew, apt, scoop or Docker. Python and JavaScript bindings are published as separate packages on PyPI and npm.\n\n## Worth knowing\n\nThe library includes HTTP middleware that minifies responses as they are served, based on the Content-Type header or the file extension. The README says these results should preferably be cached, because the processing happens on the fly for each request."}