0.0.1 • Published 3 years ago
@prashant1k99/easystore v0.0.1
easyStore
An easy to use Browser Storage API wrapper, that will handle complex logic of Session Storage or Local Storage.
Installation
Note This library is made to run in browser.
- Using
npm
npm i easystore
- Using
yarn
yarn add easystore
Usage
To use the library using ES6 import module:
import EasyStore from 'easyStore';
const myStore = new EasyStore(option);
option
accept storage type parameter of type string
|name|option|
|--|--|
|value|session|
|value|local|
0.0.1
3 years ago