postcss-selector-parser
Parse and manipulate CSS selectors programmatically with a chainable API.
Styling and CSS npm MIT
How postcss-selector-parser is used
postcss-selector-parser joined the catalog on its public numbers (83,192,665 downloads a week on npm and 216 GitHub stars), not on our project count: it is a dependency in 7 public GitHub projects of our scan, 6 of them set up for AI coding agents. Projects that use it most often also use Tailwind CSS (100.0%), Playwright (JavaScript) (71.4%), esbuild (71.4%).
postcss-selector-parser popularity over time
Gid Score 46: downloads 100, use in agent projects 12, GitHub stars 0, downloads trend 55 (each 0-100). How it is calculated.
Often used with postcss-selector-parser
| Tailwind CSS | 100.0% of postcss-selector-parser projects · 3.1× more than average |
|---|---|
| Playwright (JavaScript) | 71.4% of postcss-selector-parser projects · 4.2× more than average |
| esbuild | 71.4% of postcss-selector-parser projects · 15.3× more than average |
| jsdom | 71.4% of postcss-selector-parser projects · 7.3× more than average |
| stylelint | 71.4% of postcss-selector-parser projects · 42.6× more than average |
| Vitest | 71.4% of postcss-selector-parser projects · 3.5× more than average |
| Playwright Core | 57.1% of postcss-selector-parser projects · 47.3× more than average |
| TypeScript | 100.0% of postcss-selector-parser projects · 1.8× more than average |
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list postcss-selector-parser as a dependency.
How postcss-selector-parser is funded
Open Collective: PostCSS and Autoprefixer
| Received, last 12 months | $9,801 Oct 2025 – Sep 2026 |
|---|---|
| Estimated annual budget | $10,137 Open Collective's estimate |
| Balance | $54,054 |
| Raised since the start | $54,054 |
| Typical month median, last 12 months | $284 · $398 over 24 months |
| Last 12 months vs the 12 before | +47% |
| Contributors, last 12 months | 22 |
Top company backers all time, 23 companies in total
| Tailwind CSS | $10,000 since Mar 2020 |
|---|---|
| ThemeIsle | $10,000 since Mar 2021 |
| THANKS.DEV | $7,149 since Feb 2024 |
| Modern Treasury | $4,800 since Dec 2021 |
| InVision AG | $4,400 since May 2020 |
Oct 2021Sep 2026
Money by month, last five years. First money received in Dec 2019. The typical month is the median: one big one-off donation does not move it.
The same collective is named by 5 more tools in our catalog: postcss-import, PostCSS CLI, postcss-nested, postcss-url, PostCSS Simple Vars.
Open Collective lists this collective for the postcss organization on GitHub, so the money is for all of its projects, not postcss-selector-parser alone.
USD after payment processor fees, as Open Collective reports it; fiscal host Evil Martians. Source
Install
| Package | npm install postcss-selector-parser |
|---|---|
| Main stacks | TypeScript / JavaScript (5), Next.js (2) |
| Example projects | diegosouzapw/OmniRoute, SunkenInTime/which-ai, flowing-abyss/obsidian-abyss-tasks, stavarengo/folia-kanban |
Alternatives to postcss-selector-parser
In our scan, none of the most used tools in Styling and CSS does the same job as postcss-selector-parser: they are add-ons, companions or tools for a different task.
More in Styling and CSS: Tailwind CSS Tailwind Merge Emotion Sass tailwind-variants NativeWind Fontsource Inter postcss-import