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

4.0.0-nightly.2020.1.9 • 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.4609,826latest
5.0.0-rc.2222next
4.0.0-nightly.2020.2.652nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.4609,826
7.0.3911,242
7.0.228,175
7.0.185,207
7.0.032,576
6.0.41,713,141
6.0.319,953
6.0.2116,699
6.0.119,455
6.0.0273,463
5.1.14,921,387
5.1.012,909
5.0.432,042
5.0.336,294
5.0.284,834
5.0.1143,292
5.0.012,873
5.0.0-rc.2222
5.0.0-rc.11
5.0.0-rc.00
4.0.0-nightly.2020.2.652
4.0.0-nightly.2020.1.110
4.0.0-nightly.2020.1.90
4.0.0-nightly.2020.10.200
4.0.0-nightly.2020.9.91
4.0.0-nightly.2020.9.31
4.0.0-nightly.2020.9.10
4.0.0-nightly.2020.8.291
4.0.0-nightly.2020.8.250
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.40
4.0.0-nightly.2020.8.11
4.0.0-nightly.2020.7.310
4.0.0-nightly.2020.7.250
4.0.0-nightly.2020.7.241
4.0.12,161,740
4.0.02,109
4.0.0-rc.221
4.0.0-rc.00
2.0.2369,867
2.0.13
2.0.00
1.0.14,961
1.0.00

Package Sidebar

Install

npm i postcss-unique-selectors@4.0.0-nightly.2020.1.9

Version

4.0.0-nightly.2020.1.9

License

MIT

Unpacked Size

4.03 kB

Total Files

4

Last publish

Collaborators

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