0.0.4 • Published 17 days ago

@groww-tech/web-storage v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
17 days 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.4

17 days ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

1 year ago