node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

csscount

csscount

A super-simple script that counts up the number of CSS selectors in a file. Useful for checking against Internet Explorer's CSS selector limit.

How to install

$ npm -g install csscount

How to Use

$ csscount style.css
1337

csscount can also read from stdin:

$ scss style.scss | csscount -
9001