Denis 346b78aee1 first commit il y a 2 ans
..
_bundle 346b78aee1 first commit il y a 2 ans
CHANGELOG.md 346b78aee1 first commit il y a 2 ans
LICENSE 346b78aee1 first commit il y a 2 ans
README.md 346b78aee1 first commit il y a 2 ans
Store.js 346b78aee1 first commit il y a 2 ans
Store.js.map 346b78aee1 first commit il y a 2 ans
_driver.d.ts 346b78aee1 first commit il y a 2 ans
_driver.js 346b78aee1 first commit il y a 2 ans
_driver.js.map 346b78aee1 first commit il y a 2 ans
_initStorage.d.ts 346b78aee1 first commit il y a 2 ans
_initStorage.js 346b78aee1 first commit il y a 2 ans
_initStorage.js.map 346b78aee1 first commit il y a 2 ans
clear.d.ts 346b78aee1 first commit il y a 2 ans
clear.js 346b78aee1 first commit il y a 2 ans
clear.js.map 346b78aee1 first commit il y a 2 ans
dropInstance.d.ts 346b78aee1 first commit il y a 2 ans
dropInstance.js 346b78aee1 first commit il y a 2 ans
dropInstance.js.map 346b78aee1 first commit il y a 2 ans
getItem.d.ts 346b78aee1 first commit il y a 2 ans
getItem.js 346b78aee1 first commit il y a 2 ans
getItem.js.map 346b78aee1 first commit il y a 2 ans
index.d.ts 346b78aee1 first commit il y a 2 ans
index.js 346b78aee1 first commit il y a 2 ans
index.js.map 346b78aee1 first commit il y a 2 ans
iterate.d.ts 346b78aee1 first commit il y a 2 ans
iterate.js 346b78aee1 first commit il y a 2 ans
iterate.js.map 346b78aee1 first commit il y a 2 ans
key.d.ts 346b78aee1 first commit il y a 2 ans
key.js 346b78aee1 first commit il y a 2 ans
key.js.map 346b78aee1 first commit il y a 2 ans
keys.d.ts 346b78aee1 first commit il y a 2 ans
keys.js 346b78aee1 first commit il y a 2 ans
keys.js.map 346b78aee1 first commit il y a 2 ans
length.d.ts 346b78aee1 first commit il y a 2 ans
length.js 346b78aee1 first commit il y a 2 ans
length.js.map 346b78aee1 first commit il y a 2 ans
package.json 346b78aee1 first commit il y a 2 ans
removeItem.d.ts 346b78aee1 first commit il y a 2 ans
removeItem.js 346b78aee1 first commit il y a 2 ans
removeItem.js.map 346b78aee1 first commit il y a 2 ans
setItem.d.ts 346b78aee1 first commit il y a 2 ans
setItem.js 346b78aee1 first commit il y a 2 ans
setItem.js.map 346b78aee1 first commit il y a 2 ans

README.md

localforage-driver-memory

In-memory localforage driver that forgets all data on page reload.

NpmVersion Travis (.com) branch Coveralls github branch Greenkeeper badge

UMD global name: localforageDriverMemory


Installation

npm install localforage-driver-memory

Usage

import * as localforage from 'localforage';
import * as memoryDriver from 'localforage-driver-memory';

localforage.defineDriver(memoryDriver);
localforage.setDriver(memoryDriver._driver);