browser-badge-cached
generate browser version compatibility badges or serve them from cache
Last updated 8 years ago by pkrumins .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install browser-badge-cached 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.6                                ...           latest (8 years ago)

7 Versions

  • 0.0.6                                ...           8 years ago
  • 0.0.5                                ...           8 years ago
  • 0.0.4                                ...           8 years ago
  • 0.0.3                                ...           8 years ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |