postcss-unique-selectors
TypeScript icon, indicating that this package has built-in type declarations

4.0.0-rc.0 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
7.0.4852,467latest
5.0.0-rc.2216next
4.0.0-nightly.2020.2.6112nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.4852,467
7.0.3871,812
7.0.232,947
7.0.176,085
7.0.025,531
6.0.41,869,235
6.0.345,266
6.0.2119,977
6.0.120,115
6.0.0295,699
5.1.15,867,219
5.1.021,633
5.0.467,069
5.0.357,717
5.0.2138,495
5.0.1240,491
5.0.025,987
5.0.0-rc.2216
5.0.0-rc.14
5.0.0-rc.03
4.0.0-nightly.2020.2.6112
4.0.0-nightly.2020.1.113
4.0.0-nightly.2020.1.93
4.0.0-nightly.2020.10.204
4.0.0-nightly.2020.9.93
4.0.0-nightly.2020.9.33
4.0.0-nightly.2020.9.13
4.0.0-nightly.2020.8.293
4.0.0-nightly.2020.8.253
4.0.0-nightly.2020.8.245
4.0.0-nightly.2020.8.173
4.0.0-nightly.2020.8.103
4.0.0-nightly.2020.8.43
4.0.0-nightly.2020.8.14
4.0.0-nightly.2020.7.315
4.0.0-nightly.2020.7.254
4.0.0-nightly.2020.7.243
4.0.13,428,509
4.0.010,749
4.0.0-rc.21,294
4.0.0-rc.010
2.0.2911,813
2.0.1346
2.0.02
1.0.18,838
1.0.016

Package Sidebar

Install

npm i postcss-unique-selectors@4.0.0-rc.0

Version

4.0.0-rc.0

License

MIT

Last publish

Collaborators

  • beneb
  • trysound
  • ludovicofischer
  • ai
  • chriseppstein
  • andyjansson
  • evilebottnawi
  • cssnano-bot