Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

postcss-unique-selectors

Package Overview
Dependencies
1
Maintainers
8
Versions
36
Issues
File Explorer

Advanced tools

postcss-unique-selectors

Ensure CSS selectors are unique.

    5.1.1latest

Version published
Maintainers
8
Weekly downloads
10,104,407
decreased by-12.9%

Weekly downloads

Readme

Source

postcss-unique-selectors

Ensure CSS selectors are unique.

Install

With npm do:

npm install postcss-unique-selectors --save

Example

Selectors are sorted naturally, and deduplicated:

Input

h1,h3,h2,h1 { color: red }

Output

h1,h2,h3 { color: red }

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Ben Briggs

Keywords

FAQs

What is postcss-unique-selectors?

Ensure CSS selectors are unique.

Is postcss-unique-selectors popular?

The npm package postcss-unique-selectors receives a total of 8,132,738 weekly downloads. As such, postcss-unique-selectors popularity was classified as popular.

Is postcss-unique-selectors well maintained?

We found that postcss-unique-selectors demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 8 open source maintainers collaborating on the project.

Last updated on 08 Mar 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc