postcss-unique-selectors
Ensure CSS selectors are unique.
Last updated 10 years ago by beneb .
MIT · Repository · Bugs · Original npm
$ cnpm install postcss-unique-selectors 
SYNC missed versions from official npm registry.

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

Current Tags

  • 6.0.0                                ...           latest (2 years ago)

11 Versions

  • 6.0.0                                ...           2 years ago
  • 5.1.1                                ...           3 years ago
  • 5.0.3                                ...           4 years ago
  • 5.0.2                                ...           4 years ago
  • 5.0.1                                ...           4 years ago
  • 4.0.0-nightly.2020.2.6                                ...           5 years ago
  • 5.0.0-rc.2                                ...           4 years ago
  • 5.0.0                                ...           4 years ago
  • 1.0.1                                ...           10 years ago
  • 2.0.2                                ...           10 years ago
  • 4.0.1                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org