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

4.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.4598,881latest
5.0.0-rc.2223next
4.0.0-nightly.2020.2.686nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.4598,881
7.0.3941,950
7.0.228,435
7.0.184,626
7.0.034,253
6.0.41,730,922
6.0.320,990
6.0.2116,105
6.0.119,611
6.0.0261,684
5.1.14,980,207
5.1.012,879
5.0.433,547
5.0.335,500
5.0.286,485
5.0.1141,456
5.0.013,055
5.0.0-rc.2223
5.0.0-rc.12
5.0.0-rc.00
4.0.0-nightly.2020.2.686
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.90
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.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.251
4.0.0-nightly.2020.7.240
4.0.12,180,037
4.0.02,481
4.0.0-rc.218
4.0.0-rc.00
2.0.2371,903
2.0.14
2.0.00
1.0.14,886
1.0.00

Package Sidebar

Install

npm i postcss-unique-selectors@4.0.1

Version

4.0.1

License

MIT

Unpacked Size

3.76 kB

Total Files

5

Last publish

Collaborators

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