simple-local-db

1.0.1 • Public • Published

simpleLocalDb

simpleLocalDb is a local data store with localStorage and cookie

Installation

# install dependencies
npm install simple-local-db --save

Getting started

import 'simple-local-db'
 
// save item
simpleLocalDb.setItem(key, value)
 
// get item
simpleLocalDb.getItem(key)
 
// clear all item
simpleLocalDb.clear()
 
// remove item
simpleLocalDb.removeItem(key)
 

Readme

Keywords

Package Sidebar

Install

npm i simple-local-db

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • russellmars