0.0.7 • Published 10 years ago

browser-badge-cached v0.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

browser-badge

Generate browser version compatibility badges or serve them from cache.

cache dir must exist

Make sure the cache dir exists. This library doesn't create a cache dir for you.

methods

var browserBadgeCached = require('browser-badge-cached')(cacheDir)

Then use it just like browser-badge.

browserBadgeCached(cacheDir)

Return a readable stream of png data from the browser version compatability object browsers.

browsers should map browser names to maps of versions to booleans expressing compatbility.

install

To install the library with npm do:

npm install browser-badge-cached
0.0.7

10 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago