Denis 346b78aee1 first commit 2 anos atrás
..
_bundle 346b78aee1 first commit 2 anos atrás
CHANGELOG.md 346b78aee1 first commit 2 anos atrás
LICENSE 346b78aee1 first commit 2 anos atrás
README.md 346b78aee1 first commit 2 anos atrás
Store.js 346b78aee1 first commit 2 anos atrás
Store.js.map 346b78aee1 first commit 2 anos atrás
_driver.d.ts 346b78aee1 first commit 2 anos atrás
_driver.js 346b78aee1 first commit 2 anos atrás
_driver.js.map 346b78aee1 first commit 2 anos atrás
_initStorage.d.ts 346b78aee1 first commit 2 anos atrás
_initStorage.js 346b78aee1 first commit 2 anos atrás
_initStorage.js.map 346b78aee1 first commit 2 anos atrás
clear.d.ts 346b78aee1 first commit 2 anos atrás
clear.js 346b78aee1 first commit 2 anos atrás
clear.js.map 346b78aee1 first commit 2 anos atrás
dropInstance.d.ts 346b78aee1 first commit 2 anos atrás
dropInstance.js 346b78aee1 first commit 2 anos atrás
dropInstance.js.map 346b78aee1 first commit 2 anos atrás
getItem.d.ts 346b78aee1 first commit 2 anos atrás
getItem.js 346b78aee1 first commit 2 anos atrás
getItem.js.map 346b78aee1 first commit 2 anos atrás
index.d.ts 346b78aee1 first commit 2 anos atrás
index.js 346b78aee1 first commit 2 anos atrás
index.js.map 346b78aee1 first commit 2 anos atrás
iterate.d.ts 346b78aee1 first commit 2 anos atrás
iterate.js 346b78aee1 first commit 2 anos atrás
iterate.js.map 346b78aee1 first commit 2 anos atrás
key.d.ts 346b78aee1 first commit 2 anos atrás
key.js 346b78aee1 first commit 2 anos atrás
key.js.map 346b78aee1 first commit 2 anos atrás
keys.d.ts 346b78aee1 first commit 2 anos atrás
keys.js 346b78aee1 first commit 2 anos atrás
keys.js.map 346b78aee1 first commit 2 anos atrás
length.d.ts 346b78aee1 first commit 2 anos atrás
length.js 346b78aee1 first commit 2 anos atrás
length.js.map 346b78aee1 first commit 2 anos atrás
package.json 346b78aee1 first commit 2 anos atrás
removeItem.d.ts 346b78aee1 first commit 2 anos atrás
removeItem.js 346b78aee1 first commit 2 anos atrás
removeItem.js.map 346b78aee1 first commit 2 anos atrás
setItem.d.ts 346b78aee1 first commit 2 anos atrás
setItem.js 346b78aee1 first commit 2 anos atrás
setItem.js.map 346b78aee1 first commit 2 anos atrás

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