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.4414,805latest
5.0.0-rc.2235next
4.0.0-nightly.2020.2.612nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.4414,805
7.0.31,169,181
7.0.229,764
7.0.1116,014
7.0.037,751
6.0.41,803,419
6.0.321,640
6.0.2125,361
6.0.122,205
6.0.0299,083
5.1.15,038,014
5.1.09,733
5.0.429,011
5.0.347,706
5.0.2103,215
5.0.1154,368
5.0.013,999
5.0.0-rc.2235
5.0.0-rc.14
5.0.0-rc.03
4.0.0-nightly.2020.2.612
4.0.0-nightly.2020.1.112
4.0.0-nightly.2020.1.90
4.0.0-nightly.2020.10.205
4.0.0-nightly.2020.9.967
4.0.0-nightly.2020.9.31
4.0.0-nightly.2020.9.11
4.0.0-nightly.2020.8.292
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.42
4.0.0-nightly.2020.8.11
4.0.0-nightly.2020.7.310
4.0.0-nightly.2020.7.251
4.0.0-nightly.2020.7.242
4.0.12,254,931
4.0.01,825
4.0.0-rc.222
4.0.0-rc.00
2.0.2391,511
2.0.133
2.0.03
1.0.14,378
1.0.05

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