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

7.0.1 • 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.4387,917latest
5.0.0-rc.2200next
4.0.0-nightly.2020.2.618nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.4387,917
7.0.31,172,199
7.0.229,636
7.0.1113,566
7.0.038,838
6.0.41,771,473
6.0.321,324
6.0.2125,626
6.0.123,731
6.0.0296,685
5.1.14,995,723
5.1.09,522
5.0.428,831
5.0.344,484
5.0.2108,577
5.0.1154,717
5.0.014,422
5.0.0-rc.2200
5.0.0-rc.14
5.0.0-rc.02
4.0.0-nightly.2020.2.618
4.0.0-nightly.2020.1.111
4.0.0-nightly.2020.1.90
4.0.0-nightly.2020.10.200
4.0.0-nightly.2020.9.9112
4.0.0-nightly.2020.9.30
4.0.0-nightly.2020.9.11
4.0.0-nightly.2020.8.291
4.0.0-nightly.2020.8.250
4.0.0-nightly.2020.8.242
4.0.0-nightly.2020.8.170
4.0.0-nightly.2020.8.101
4.0.0-nightly.2020.8.41
4.0.0-nightly.2020.8.10
4.0.0-nightly.2020.7.310
4.0.0-nightly.2020.7.251
4.0.0-nightly.2020.7.241
4.0.12,251,420
4.0.01,863
4.0.0-rc.224
4.0.0-rc.00
2.0.2383,378
2.0.133
2.0.03
1.0.14,377
1.0.05

Package Sidebar

Install

npm i postcss-unique-selectors@7.0.1

Version

7.0.1

License

MIT

Unpacked Size

4.98 kB

Total Files

6

Last publish

Collaborators

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