Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/singingwolfboy/csscount

Count the number of CSS rules in a file
https://github.com/singingwolfboy/csscount

Last synced: 27 days ago
JSON representation

Count the number of CSS rules in a file

Awesome Lists containing this project

README

        

# 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](http://blesscss.com/).

## How to install
```bash
$ npm -g install csscount
```

## How to Use
```bash
$ csscount style.css
1337
```

csscount can also read from stdin:
```bash
$ scss style.scss | csscount -
9001
```