{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/purgecss/","markdown":"https://findsoftware.frbit.cloud/purgecss.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":"purgecss","name":"PurgeCSS","urls":{"home":"https://purgecss.com","repository":"https://github.com/FullHuman/purgecss","docs":"https://purgecss.com"},"category":["build-tool"],"description":"Tool that removes unused CSS selectors by matching them against the markup and scripts of a project, producing smaller stylesheets.","maintainer":"Full Human LTD","firstRelease":2017,"hosting":null,"language":"javascript","runtimeMin":null,"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":["local"],"renderingModes":null,"installMethod":"npm install purgecss --save-dev","licenseModel":"open-source","license":"MIT","currentMajor":"8","latestReleaseDate":"2026-01-24T00:00:00.000Z","githubStargazers":8053,"contributors":85,"packagistDownloads":null,"npmWeeklyDownloads":1540290,"dependentRepos":169179,"dependentPackages":294,"checkedAt":"2026-10-28T00:00:00.000Z","addedAt":"2026-10-28T00:00:00.000Z","sources":[{"field":"urls","url":"https://purgecss.com","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/FullHuman/purgecss","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://raw.githubusercontent.com/FullHuman/purgecss/main/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"maintainer","url":"https://purgecss.com","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"category","url":"https://purgecss.com","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/FullHuman/purgecss","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runsAs","url":"https://purgecss.com/CLI.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/FullHuman/purgecss/main/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://purgecss.com/CLI.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://registry.npmjs.org/purgecss/latest","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/FullHuman/purgecss/main/LICENSE","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/purgecss","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/FullHuman/purgecss/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/FullHuman/purgecss/releases","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/FullHuman/purgecss","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/FullHuman/purgecss/contributors","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/purgecss","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/purgecss","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/purgecss","checkedAt":"2026-10-28T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"PurgeCSS removes unused CSS selectors from a project. It analyzes the content files and the CSS files, matches the selectors in the stylesheets against the content, and removes the selectors it does not find. It can be run from a command line interface, alone or with a configuration file, or through a plugin for a build tool.\n\nIt is installed with npm as a dev dependency. The repository is a monorepo that publishes its build-tool plugins as separate packages, and the core package is the one the install guide names."}