|
hace 2 años | |
---|---|---|
.. | ||
_bundle | hace 2 años | |
CHANGELOG.md | hace 2 años | |
LICENSE | hace 2 años | |
README.md | hace 2 años | |
Store.js | hace 2 años | |
Store.js.map | hace 2 años | |
_driver.d.ts | hace 2 años | |
_driver.js | hace 2 años | |
_driver.js.map | hace 2 años | |
_initStorage.d.ts | hace 2 años | |
_initStorage.js | hace 2 años | |
_initStorage.js.map | hace 2 años | |
clear.d.ts | hace 2 años | |
clear.js | hace 2 años | |
clear.js.map | hace 2 años | |
dropInstance.d.ts | hace 2 años | |
dropInstance.js | hace 2 años | |
dropInstance.js.map | hace 2 años | |
getItem.d.ts | hace 2 años | |
getItem.js | hace 2 años | |
getItem.js.map | hace 2 años | |
index.d.ts | hace 2 años | |
index.js | hace 2 años | |
index.js.map | hace 2 años | |
iterate.d.ts | hace 2 años | |
iterate.js | hace 2 años | |
iterate.js.map | hace 2 años | |
key.d.ts | hace 2 años | |
key.js | hace 2 años | |
key.js.map | hace 2 años | |
keys.d.ts | hace 2 años | |
keys.js | hace 2 años | |
keys.js.map | hace 2 años | |
length.d.ts | hace 2 años | |
length.js | hace 2 años | |
length.js.map | hace 2 años | |
package.json | hace 2 años | |
removeItem.d.ts | hace 2 años | |
removeItem.js | hace 2 años | |
removeItem.js.map | hace 2 años | |
setItem.d.ts | hace 2 años | |
setItem.js | hace 2 años | |
setItem.js.map | hace 2 años |
In-memory localforage driver that forgets all data on page reload.
UMD global name: localforageDriverMemory
npm install localforage-driver-memory
import * as localforage from 'localforage';
import * as memoryDriver from 'localforage-driver-memory';
localforage.defineDriver(memoryDriver);
localforage.setDriver(memoryDriver._driver);