UNPKG

localforage-driver-memory

Version:

in-memory localforage driver that resets on page reload

10 lines 408 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var localforage_driver_commons_1 = require("localforage-driver-commons"); function length(callback) { var promise = this.keys().then(function (keys$) { return keys$.length; }); localforage_driver_commons_1.executeCallback(promise, callback); return promise; } exports.length = length; //# sourceMappingURL=length.js.map