featherstore-plugin-memstore

0.1.11 • Public • Published

featherstore-plugin-memstore Build Status

Tiny, 200B in-memory storage for use with featherstore. Replaces default window.localStorage use with in-memory storage.

However, keep in mind that stored data will be cleared on page reload. Not recommended for storing data that you want to persist across sessions and page reloads.

Install

npm i featherstore featherstore-plugin-memstore or yarn add featherstore featherstore-plugin-memstore

Usage

import featherstore from 'featherstore';
import memstore from 'featherstore-plugin-memstore';
 
const store = featherstore({
  storage: memstore // pass as `storage` in options
});

License

MIT © yatharthk

Readme

Keywords

none

Package Sidebar

Install

npm i featherstore-plugin-memstore

Weekly Downloads

3

Version

0.1.11

License

MIT

Unpacked Size

6.23 kB

Total Files

14

Last publish

Collaborators

  • yatharth