1.0.1 • Published 4 years ago
local-storage-firmino v1.0.1
local-storage-js
Package for storage in localStorage of the browser, already has the conversion of objects to string and string to object again
Install
npm install local-storage-firmino
Methods
Code example:
import Storage from 'local-storage-firmino'
// Save data
Storage.store('key', { name: '', email: ''})
// Recover data of storage
Storage.get('key')
// Remove data of key
Storage.delete('key')
// Verify if exists the key, return true if exists
Storage.exists('key')
// end