@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
    });

    Keywords

    none

    Install

    npm i @blinkmobile/is-indexeddb-reliable

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    BSD-3-Clause

    Last publish

    Collaborators

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