Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/singingwolfboy/csscount
- Owner: singingwolfboy
- Created: 2013-10-08T19:32:31.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-09T01:37:08.000Z (about 11 years ago)
- Last Synced: 2024-11-22T18:18:02.905Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://npmjs.org/package/csscount
- Size: 109 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```