1.0.1 • Published 1 year ago
set-get-local v1.0.1
set-get-local
A simple utility package for setting and getting data in local storage.
Installation
You can install the package via npm or yarn:
npm install set-get-local
yarn add set-get-local
#Usage ##Set
import { setLocal } from 'set-get-local';
setLocal('key', 'value');
##Get
import { getLocal } from 'set-get-local';
const data = getLocal('key');
console.log(data);
Feel free to customize it further with additional information or examples as needed.