{"id":32997449,"url":"https://cssnano.github.io/cssnano/","last_synced_at":"2025-11-18T07:00:37.148Z","repository":{"id":30390460,"uuid":"33943153","full_name":"cssnano/cssnano","owner":"cssnano","description":"A modular minifier, built on top of the PostCSS ecosystem.","archived":false,"fork":false,"pushed_at":"2025-10-29T14:46:02.000Z","size":34250,"stargazers_count":4932,"open_issues_count":100,"forks_count":324,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-11-14T00:30:04.904Z","etag":null,"topics":["css","cssnano","minification","optimisation","postcss"],"latest_commit_sha":null,"homepage":"https://cssnano.github.io/cssnano/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cssnano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"cssnano"}},"created_at":"2015-04-14T16:23:09.000Z","updated_at":"2025-11-13T21:45:29.000Z","dependencies_parsed_at":"2024-01-13T01:36:57.241Z","dependency_job_id":"b3308e22-fbd8-420a-bcc2-3d553c64b370","html_url":"https://github.com/cssnano/cssnano","commit_stats":{"total_commits":2458,"total_committers":122,"mean_commits":"20.147540983606557","dds":"0.43409275834011396","last_synced_commit":"60a9afa12e293f1a4cb1704e4ca07beb191b0dfa"},"previous_names":["ben-eb/cssnano"],"tags_count":839,"template":false,"template_full_name":null,"purl":"pkg:github/cssnano/cssnano","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnano%2Fcssnano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnano%2Fcssnano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnano%2Fcssnano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnano%2Fcssnano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cssnano","download_url":"https://codeload.github.com/cssnano/cssnano/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnano%2Fcssnano/sbom","scorecard":{"id":231184,"data":{"date":"2025-08-11","repo":{"name":"github.com/cssnano/cssnano","commit":"73189b86d8d4c9cc4aebf6d7819925b3f53f41b1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.5,"checks":[{"name":"Code-Review","score":2,"reason":"Found 7/25 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"12 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/publish.yml:3","Info: found token with 'none' permissions: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/cssnano/cssnano/test.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-MIT:0","Info: FSF or OSI recognized license: MIT License: LICENSE-MIT:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yml:9"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":8,"reason":"SAST tool is not run on all commits -- score normalized to 8","details":["Warn: 24 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T04:54:06.812Z","repository_id":30390460,"created_at":"2025-08-17T04:54:06.812Z","updated_at":"2025-08-17T04:54:06.812Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284340403,"owners_count":26988041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-14T02:00:06.101Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","cssnano","minification","optimisation","postcss"],"created_at":"2025-11-13T13:00:20.689Z","updated_at":"2025-11-18T07:00:37.123Z","avatar_url":"https://github.com/cssnano.png","language":"CSS","readme":"\u003ch1 align=\"center\"\u003e\n    \u003cbr\u003e\n    \u003cimg width=\"360\" src=\"https://rawgit.com/cssnano/cssnano/master/media/logo.svg\" alt=\"cssnano\"\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003e A modular minifier, built on top of the [PostCSS](https://github.com/postcss/postcss) ecosystem.\n\n[![Backers on Open Collective](https://opencollective.com/cssnano/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/cssnano/sponsors/badge.svg)](#sponsors) [![NPM version](https://img.shields.io/npm/v/cssnano.svg)](https://www.npmjs.org/package/cssnano)\n[![Build Status](https://github.com/cssnano/cssnano/actions/workflows/test.yml/badge.svg)](https://github.com/cssnano/cssnano/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/cssnano/cssnano/branch/master/graph/badge.svg)](https://codecov.io/gh/cssnano/cssnano)\n[![Gitter](https://img.shields.io/badge/Gitter-Join_the_PostCSS_chat-brightgreen.svg)](https://gitter.im/postcss/postcss)\n\ncssnano is a modern, modular compression tool written on top of the PostCSS\necosystem, which allows us to use a lot of powerful features in order to compact\nCSS appropriately.\n\nOur preset system allow you to load cssnano in a different configuration\ndepending on your needs; the default preset performs safe transforms, whereas\nthe advanced preset performs more aggressive transforms that are safe only when\nyour site meets the requirements; but regardless of the preset you choose, we\nhandle more than whitespace transforms!\n\nOptimisations range from compressing colors \u0026 removing comments, to discarding\noverridden at-rules, normalising `unicode-range` descriptors, even mangling\ngradient parameters for a smaller output value! In addition, where it's made\nsense for a transform, we've added [Browserslist](https://github.com/ai/browserslist)\nto provide different output depending on the browsers that you support.\n\nFor further details check out the [website](https://cssnano.github.io/cssnano):\n\n- [Installation guide for your build process](https://cssnano.github.io/cssnano/docs/getting-started).\n- [Full list of optimisations](https://cssnano.github.io/cssnano/docs/what-are-optimisations/).\n\nYou can now [try cssnano online](https://cssnano.github.io/cssnano/playground/)!\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].\n\u003ca href=\"https://github.com/cssnano/cssnano/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/contributors.svg?width=890\u0026button=false\" /\u003e\u003c/a\u003e\n\n\n## Backers\n\nThank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/cssnano#backer)]\n\n\u003ca href=\"https://opencollective.com/cssnano#backers\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/backers.svg?width=890\"\u003e\u003c/a\u003e\n## Sponsors\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/cssnano#sponsor)]\n\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/0/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/1/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/1/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/2/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/2/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/3/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/3/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/4/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/4/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/5/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/5/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/6/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/6/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/7/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/7/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/8/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/8/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/cssnano/sponsor/9/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/cssnano/sponsor/9/avatar.svg\"\u003e\u003c/a\u003e\n\n\n\n## License\n\nMIT © [Ben Briggs](https://beneb.info)\n","funding_links":["https://opencollective.com/cssnano"],"categories":["CSS"],"sub_categories":["References"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/cssnano.github.io%2Fcssnano%2F","html_url":"https://awesome.ecosyste.ms/projects/cssnano.github.io%2Fcssnano%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/cssnano.github.io%2Fcssnano%2F/lists"}