NodeICO

classy node.js badges, that's all

Embed with:

Or in Markdown:

Shut up and make me one NOW!

Chrome Extension

Some people just don't get it and won't have NodeICO badges on their GitHub READMEs. You can fix this on your end by installing the NodeICO Chrome Extension for GitHub and have them placed on READMEs for Node.js projects that don't have them when you're browsing.

Badge Styles

Compact

Some people don't really appreciate too much bling, so here's compact=true:

https://nodei.co/npm/through2.png?compact=true

Mini

Really don't like clutter but don't want to be left out? Try mini=true:

https://nodei.co/npm/ender.png?mini=true

Download counts

Add downloads=true to the image URL query string:

https://nodei.co/npm/moment.png?downloads=true

Download rankings

Add downloadRank=true to the image URL query string:

https://nodei.co/npm/bole.png?downloadRank=true

Download rankings are calculated each day by comparing total download counts across a period of 30 days.

Star counts

Add stars=true to the image URL query string:

https://nodei.co/npm/ecstatic.png?stars=true

Or downloads, rank and stars:

https://nodei.co/npm/async.png?downloads=true&downloadRank=true&stars=true

Download histogram badges

So, we have the download data per-day so why not do something interesting with it?

Embed with: <a href="https://nodei.co/npm/<package>/"><img src="https://nodei.co/npm-dl/<package>.png"></a>

Or in Markdown: [![NPM](https://nodei.co/npm-dl/<package>.png)](https://nodei.co/npm/<package>/)

https://nodei.co/npm-dl/xtend.png

By adding months=X to the query string where X is a number between 1 and 12, you can change the range:

https://nodei.co/npm-dl/xtend.png?months=9

https://nodei.co/npm-dl/xtend.png?months=6

https://nodei.co/npm-dl/xtend.png?months=3

https://nodei.co/npm-dl/xtend.png?months=1

Download histogram badges also have three possible heights to match the general badges:

https://nodei.co/npm-dl/nan.png?months=3&height=1

https://nodei.co/npm-dl/nan.png?months=3&height=2

https://nodei.co/npm-dl/nan.png?months=3&height=3