PostCSS Selector Parser

JSON →
library 7.1.1 ·javascript
verified May 27, 2026

postcss-selector-parser is a utility library designed to parse CSS selector strings into an abstract syntax tree (AST), providing a structured API for inspecting and manipulating these selectors. It is an integral tool within the PostCSS ecosystem, enabling advanced selector transformations, linting, and optimizations by allowing plugins to programmatically interact with selector structures. The current stable version is 7.1.1, with a release cadence that responds to feature demands and bug fixes within the broader PostCSS community. Its key differentiators include a robust AST representation, comprehensive traversal methods (like `walk`), and support for both synchronous and asynchronous processing, making it highly flexible for various build environments. It also includes full TypeScript type definitions to enhance developer experience and ensure type safety.

total hits 16
actors 8 distinct systems
last hit 6d ago MetaBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇳🇴 Norway · 🇩🇪 Germany · 🇫🇷 France