Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

cssnano

Modular CSS minifier built on PostCSS for optimized stylesheets.

Linting and formatting npm MIT

Used in agent projects
33
0.3% of 12,697 public repos built with AI coding agents
Rank in linting and formatting
#23 of 40
by use in those projects
Downloads
17.8M
npm, last 7 days, cssnano
GitHub stars
4,978
last push Oct 10, 2026

How cssnano is used

cssnano is a dependency in 33 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #23 of 40 in linting and formatting. The most used alternative there is ESLint. Projects that use it most often also use Prettier (57.6%), Tailwind CSS (75.8%), ESLint (72.7%).

Often used with cssnano

Prettier57.6% of cssnano projects · 3.3× more than average
Tailwind CSS75.8% of cssnano projects · 2.2× more than average
ESLint72.7% of cssnano projects · 1.9× more than average
Testing Library27.3% of cssnano projects · 3.8× more than average
rimraf24.2% of cssnano projects · 13.4× more than average
stylelint24.2% of cssnano projects · 22.0× more than average
Husky24.2% of cssnano projects · 3.9× more than average
jsdom21.2% of cssnano projects · 4.0× more than average

By coding agent

GitHub Copilot0.5% of projects set up for it
Cursor0.4% of projects set up for it
Claude Code0.2% of projects set up for it

Share of public repos configured for each agent that list cssnano as a dependency.

Install

Packagenpm install cssnano
Main stacksTypeScript / JavaScript (22), Next.js (6), Python (3), PHP (1)
Example projectszkoss/zk, mimikim/harvest-moon-phaser3-game, vickylance/phaser3-parcel-ts-starter

Alternatives to cssnano

All linting and formatting

Tool Used in agent projectsDownloads / wk GitHub starsLicense
ESLint npm
Linter that finds and fixes JavaScript code patterns based on AST analysis.
4,833 (38.1%) 162M 27.6K MIT
Prettier npm
Opinionated code formatter for JavaScript, TypeScript, and related languages.
2,218 (17.5%) 138M 52.4K MIT
Biome npm
Fast web toolchain providing linting, formatting and code quality all in one.
445 (3.5%) 17.7M 25.9K MIT OR Apache-2.0
oxlint npm
Fast JavaScript linter written in Rust with zero-config defaults.
206 (1.6%) 25.7M 23K MIT
Knip npm
Find and fix unused dependencies, exports and files in TypeScript/JavaScript projects.
150 (1.2%) 17.5M 12.4K ISC
stylelint npm
Linter that finds and fixes CSS errors and enforces code style conventions.
140 (1.1%) 10.8M 11.5K MIT
oxfmt npm
Fast JavaScript formatter from the Oxc compiler project.
125 (1.0%) 16.3M 23K MIT
ESLint Import Resolver TypeScript npm
ESLint plugin resolver adding TypeScript support to import/export linting.
119 (0.9%) 48.8M 825 ISC
Is cssnano right for your project? Ask AgentGid →