Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
t32k committed Nov 30, 2014
1 parent 323eb7c commit 1c08587
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
![StyleStats](http://i.imgur.com/81kKnxH.png)
# [StyleStats](http://www.stylestats.org/) [![Build Status](https://secure.travis-ci.org/t32k/stylestats.svg?branch=master)](http://travis-ci.org/t32k/stylestats) [![Coverage Status](http://img.shields.io/coveralls/t32k/stylestats.svg)](https://coveralls.io/r/t32k/stylestats) [![Code Climate](http://img.shields.io/codeclimate/github/t32k/stylestats.svg)](https://codeclimate.com/github/t32k/stylestats) [![Dependency Status](https://david-dm.org/t32k/stylestats.svg)](https://david-dm.org/t32k/stylestats)

StyleStats is a Node.js library to collect CSS statistics.

[![Build Status](https://secure.travis-ci.org/t32k/stylestats.svg?branch=master)](http://travis-ci.org/t32k/stylestats)
[![Coverage Status](http://img.shields.io/coveralls/t32k/stylestats.svg)](https://coveralls.io/r/t32k/stylestats)
[![Code Climate](http://img.shields.io/codeclimate/github/t32k/stylestats.svg)](https://codeclimate.com/github/t32k/stylestats)
[![NPM version](https://badge.fury.io/js/stylestats.svg)](http://badge.fury.io/js/stylestats)
[![Dependency Status](https://david-dm.org/t32k/stylestats.svg)](https://david-dm.org/t32k/stylestats)
> StyleStats is a Node.js library to collect CSS statistics.
## Installation

Expand Down Expand Up @@ -47,10 +41,14 @@ StyleStats!
│ Unique Font Size │ 12px │
│ │ 16px │
├─────────────────────────────────┼────────────────┤
│ Total Unique Font Families │ 0 │
├─────────────────────────────────┼────────────────┤
│ Unique Font Family │ N/A │
├─────────────────────────────────┼────────────────┤
│ Total Unique Colors │ 3 │
├─────────────────────────────────┼────────────────┤
│ Unique Color │ #333
│ │ #CCC
│ Unique Color │ #333333
│ │ #CCCCCC
│ │ RED │
├─────────────────────────────────┼────────────────┤
│ ID Selectors │ 1 │
Expand Down Expand Up @@ -222,7 +220,7 @@ $ stylestats -h
-V, --version output the version number
-c, --config [path] Path and name of the incoming JSON file.
-t, --type [format] Specify the output format. <json|html|csv>
-s, --simple Show compact style's log.
-s, --simple Show compact style log.
-g, --gzip Show gzipped file size.
-n, --number Show only numeral metrics.
-u, --ua [OS] Specify the user agent. <ios|android>
Expand Down Expand Up @@ -295,6 +293,8 @@ Statistics tree of above css:
"lowestCohesionSelector": [ ".foo" ],
"totalUniqueFontSizes": 2,
"uniqueFontSize": [ "12px", "16px" ],
"totalUniqueFontFamilies": 0,
"uniqueFontFamily": [],
"totalUniqueColors": 3,
"uniqueColor": [ "#333333", "#CCCCCC", "RED" ],
"idSelectors": 1,
Expand Down Expand Up @@ -322,6 +322,7 @@ We launched online tool for StyleStats!

## Release History

+ v4.2.0: Add `totalUniqueFontFamilies`, `uniqueFontFamily` metics.
+ v4.1.0: Fix `uniqueColor` metrics. Update `gzip-size` module.
+ v4.0.0: __API is changed:__ `StyleStats.parse()`. Improve CLI tool.
+ v3.2.0: Support request option, and add ClI options.
Expand All @@ -337,4 +338,4 @@ We launched online tool for StyleStats!

# License

Code is released under [the MIT license](LICENSE).
Code is released under [the MIT license](LICENSE).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylestats",
"version": "4.1.4",
"version": "4.2.0",
"main": "lib/stylestats.js",
"bin": {
"stylestats": "bin/cli.js"
Expand Down

0 comments on commit 1c08587

Please sign in to comment.