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