csscount

script to count the number of rules in a CSS file

npm install csscount
3 downloads in the last week
7 downloads in the last month

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
npm loves you