1.0.1 • Published 1 year ago

set-get-local v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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.

1.0.1

1 year ago

1.0.0

1 year ago