local-storage-firmino

1.0.1 • Public • Published

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









Package Sidebar

Install

npm i local-storage-firmino

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

2.24 kB

Total Files

3

Last publish

Collaborators

  • firmino2611