@groww-tech/web-storage
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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.



Package Sidebar

Install

npm i @groww-tech/web-storage

Weekly Downloads

329

Version

0.0.4

License

MIT

Unpacked Size

30.1 kB

Total Files

26

Last publish

Collaborators

  • vikaz707