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.4854,124latest
5.0.0-rc.2273next
4.0.0-nightly.2020.2.632nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.4854,124
7.0.3802,164
7.0.229,955
7.0.175,091
7.0.025,776
6.0.41,791,776
6.0.331,597
6.0.2121,932
6.0.117,842
6.0.0269,732
5.1.15,300,774
5.1.014,611
5.0.448,479
5.0.335,649
5.0.2102,765
5.0.1258,681
5.0.015,506
5.0.0-rc.2273
5.0.0-rc.13
5.0.0-rc.03
4.0.0-nightly.2020.2.632
4.0.0-nightly.2020.1.113
4.0.0-nightly.2020.1.93
4.0.0-nightly.2020.10.203
4.0.0-nightly.2020.9.93
4.0.0-nightly.2020.9.33
4.0.0-nightly.2020.9.13
4.0.0-nightly.2020.8.293
4.0.0-nightly.2020.8.253
4.0.0-nightly.2020.8.243
4.0.0-nightly.2020.8.173
4.0.0-nightly.2020.8.103
4.0.0-nightly.2020.8.43
4.0.0-nightly.2020.8.13
4.0.0-nightly.2020.7.313
4.0.0-nightly.2020.7.253
4.0.0-nightly.2020.7.243
4.0.12,674,226
4.0.06,603
4.0.0-rc.2651
4.0.0-rc.032
2.0.2712,380
2.0.1570
2.0.06
1.0.17,410
1.0.014

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