browser-compatibility

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i browser-compatibility

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • coryrobinson42