Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browser-badge-cached

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-badge-cached

generate browser version compatibility badges or serve them from cache

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 16 Apr 2014

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc