0.0.5 • Published 12 months ago

@groww-tech/web-storage v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

web-storage

npm version minzipped size GitHub Workflow Status

Web storage is a storage service that provides simple APIs to get/set data to Local Storage and Cookies. Support for further browser storage is coming soon.

Installation

npm i @groww-tech/web-storage

API

Web Storage has a pretty straight forward API usage.

import { getDataFromStorage, STORAGE_TYPE } from '@groww-tech/web-storage';

console.log(getDataFromStorage('sdjhfsjdgfd', STORAGE_TYPE.LOCAL_STORAGE)); // Output - Data corresponding to the key provided will be return from local storage

License

Web Storage is licensed under a MIT License.

This package is customized for use in Groww projects. Use at your own risk.


0.0.5

12 months ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago