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

7.0.4 • 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.4855,554latest
5.0.0-rc.2207next
4.0.0-nightly.2020.2.633nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.4855,554
7.0.3811,400
7.0.230,752
7.0.175,143
7.0.025,341
6.0.41,787,630
6.0.336,764
6.0.2115,457
6.0.117,647
6.0.0256,475
5.1.15,250,729
5.1.014,895
5.0.449,055
5.0.335,006
5.0.299,157
5.0.1239,344
5.0.015,929
5.0.0-rc.2207
5.0.0-rc.11
5.0.0-rc.01
4.0.0-nightly.2020.2.633
4.0.0-nightly.2020.1.111
4.0.0-nightly.2020.1.91
4.0.0-nightly.2020.10.201
4.0.0-nightly.2020.9.91
4.0.0-nightly.2020.9.31
4.0.0-nightly.2020.9.11
4.0.0-nightly.2020.8.291
4.0.0-nightly.2020.8.251
4.0.0-nightly.2020.8.241
4.0.0-nightly.2020.8.171
4.0.0-nightly.2020.8.101
4.0.0-nightly.2020.8.41
4.0.0-nightly.2020.8.11
4.0.0-nightly.2020.7.311
4.0.0-nightly.2020.7.251
4.0.0-nightly.2020.7.241
4.0.12,653,457
4.0.06,383
4.0.0-rc.2639
4.0.0-rc.028
2.0.2769,247
2.0.1573
2.0.01
1.0.17,709
1.0.012

Package Sidebar

Install

npm i postcss-unique-selectors

Weekly Downloads

13,154,585

Version

7.0.4

License

MIT

Unpacked Size

4.98 kB

Total Files

6

Last publish

Collaborators

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