Socket
Socket
Sign inDemoInstall

browser-badge-cached

Package Overview
Dependencies
8
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    browser-badge-cached

generate browser version compatibility badges or serve them from cache


Version published
Weekly downloads
9
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 16 Apr 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc