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

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