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

1.3.0 • Public • Published

postcss-minify-selectors Build Status NPM version Dependency Status

Minify selectors with PostCSS.

Install via npm:

npm install postcss-minify-selectors --save

Example

var postcss = require('postcss')
var selectors = require('postcss-minify-selectors');

var css = 'h1 + p, h2, h3, h2{color:blue}';
console.log(postcss(selectors()).process(css).css);

// => 'h1+p,h2,h3{color:blue}'

For more examples see the tests.

Contributing

Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

License

MIT © Ben Briggs

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
7.0.5623,023latest
5.0.0-rc.2222next
4.0.0-nightly.2020.2.635nightly

Version History

VersionDownloads (Last 7 Days)Published
7.0.5623,023
7.0.4980,375
7.0.327,615
7.0.290,796
7.0.18,493
7.0.044,482
6.0.41,743,890
6.0.319,983
6.0.2124,264
6.0.119,727
6.0.0276,567
5.2.14,730,140
5.2.0197,955
5.1.332,352
5.1.235,876
5.1.131,745
5.1.0194,511
5.0.013,479
5.0.0-rc.2222
5.0.0-rc.11
5.0.0-rc.01
4.0.0-nightly.2020.2.635
4.0.0-nightly.2020.1.111
4.0.0-nightly.2020.1.91
4.0.0-nightly.2020.10.201
4.0.0-nightly.2020.9.91
4.0.0-nightly.2020.9.33
4.0.0-nightly.2020.9.11
4.0.0-nightly.2020.8.291
4.0.0-nightly.2020.8.251
4.0.0-nightly.2020.8.241
4.0.0-nightly.2020.8.172
4.0.0-nightly.2020.8.101
4.0.0-nightly.2020.8.41
4.0.0-nightly.2020.8.10
4.0.0-nightly.2020.7.311
4.0.0-nightly.2020.7.251
4.0.0-nightly.2020.7.241
4.0.22,145,116
4.0.112,002
4.0.02,126
4.0.0-rc.237
4.0.0-rc.01
2.1.1371,247
2.1.03
2.0.7327
2.0.632
2.0.5748
2.0.41
2.0.31
2.0.21
2.0.11
2.0.01
1.5.05,130
1.4.71
1.4.61
1.4.51
1.4.41
1.4.31
1.4.21
1.4.11
1.4.01
1.3.12
1.3.01
1.2.11
1.2.01
1.1.01
1.0.01

Package Sidebar

Install

npm i postcss-minify-selectors@1.3.0

Version

1.3.0

License

MIT

Last publish

Collaborators

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