@abarchibody/storage

Storage is plugin that help to store data in the local storage, or retrieve data
935
Install
npm install @abarchibody/storage
Latest Version:1.4.2
License:ISC
Last Updated:Mar 15, 2021
Links: npm
Maintainer: abarchibody

storage is used to read, write to the localstorage.

to install

##$ npm i @abarchibody/storage

Usage

const data = [1, 2, 3, 4]

import storage from '@abarchibody/storage'

Write to localstorage

storage.set('data', data);

OR

storage.write('data', data);

Read to localstorage

const myData = storage.get('data')

OR

const myData = storage.read('data')
console.log(myData)

// [1, 2, 3, 4]

Delete data to localstorage

storage.remove('data');

OR

storage.del('data');

Related Packages

type-collector

type-collector is a fast, simple (and rich), zero-configuration node package tha...

932 0
@agnostico/browser-solidity-compiler

Solidity compiler that works in the browser

1,548 18
@tomassjosten/local-storage-cache

Leverage local storage to improve perfomance by caching data and expire cache

166 1
waelio-utils

Helper Utils often used in websites

8,166 1
portfolio-github-integration

Browser-native library to fetch GitHub repositories and custom metadata for dyna...

1,360

Version History

Version Released License
1.4.2 ISC
1.3.2 ISC
1.3.1 ISC
1.3.0 ISC
1.2.0 ISC