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.4857,084latest
5.0.0-rc.2196next
4.0.0-nightly.2020.2.645nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.4857,084
7.0.3817,245
7.0.230,828
7.0.174,412
7.0.025,659
6.0.41,783,395
6.0.342,800
6.0.2110,792
6.0.117,942
6.0.0261,199
5.1.15,300,290
5.1.015,262
5.0.455,534
5.0.338,570
5.0.2103,693
5.0.1202,308
5.0.017,460
5.0.0-rc.2196
5.0.0-rc.12
5.0.0-rc.02
4.0.0-nightly.2020.2.645
4.0.0-nightly.2020.1.112
4.0.0-nightly.2020.1.92
4.0.0-nightly.2020.10.202
4.0.0-nightly.2020.9.92
4.0.0-nightly.2020.9.32
4.0.0-nightly.2020.9.12
4.0.0-nightly.2020.8.291
4.0.0-nightly.2020.8.251
4.0.0-nightly.2020.8.243
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.12
4.0.0-nightly.2020.7.312
4.0.0-nightly.2020.7.251
4.0.0-nightly.2020.7.241
4.0.12,745,228
4.0.05,449
4.0.0-rc.2429
4.0.0-rc.034
2.0.2804,413
2.0.1356
2.0.01
1.0.17,334
1.0.013

Package Sidebar

Install

npm i postcss-unique-selectors

Weekly Downloads

13,318,001

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