New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

postcss-minify-selectors

Package Overview
Dependencies
Maintainers
8
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-selectors

Minify selectors with PostCSS.

Source
npmnpm
Version
7.0.6
Version published
Weekly downloads
10M
-24.18%
Maintainers
8
Weekly downloads
 
Created
Source

postcss-minify-selectors

Minify selectors with PostCSS.

Install

With npm do:

npm install postcss-minify-selectors --save

Example

Input

h1 + p, h2, h3, h2{color:blue}

Output

h1+p,h2,h3{color:blue}

For more examples see the tests.

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

Keywords

css

FAQs

Package last updated on 06 Mar 2026

Related posts