This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@blinkmobile/is-indexeddb-reliable

1.0.1 • Public • Published

@blinkmobile/is-indexeddb-reliable

npm module

does this browser provide a good IndexedDB implementation?

API

sync()

  • @returns {Boolean}

Perform basic feature-detection and return a synchronous result

Avoids time-consuming or resource-intensive approaches

quick(callback)

  • @param {resultCallback} callback

Exercise (asynchronous) storage API enough to establish confidence that it works

Avoids time-consuming or resource-intensive approaches

thorough(callback) (NOT IMPLEMENTED)

  • @param {resultCallback} callback

Exercise (asynchronous) storage API without care for time taken, etc

Callback: resultCallback

  • @param {Boolean} result of the feature-detect

Example

isIndexedDBReliable.sync(); // true|false

isIndexedDBReliable.quick(function (result) {
  // result = true|false
});

Dependents (0)

Package Sidebar

Install

npm i @blinkmobile/is-indexeddb-reliable

Weekly Downloads

1

Version

1.0.1

License

BSD-3-Clause

Last publish

Collaborators

  • aaronroworth
  • blinkmobile-admin
  • kizaonline
  • mymattcarroll
  • simon_marklar