Socket
Book a DemoInstallSign in
Socket

browser-compatibility

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-compatibility

checks for browser compatibility with html5 features

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

browser-compatibility

By default the namespace is set on the 'window' object at the top of the source file:

  var CONFIG = {
    namespace : 'browserCompatibility'
  }

There are 2 methods exposed for checking browser compatibility:

window.browserCompatibility.cookie() // returns true or false

and...

window.browserCompatibility.localStorage() // returns true or false

FAQs

Package last updated on 24 Sep 2015

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