# @groww-tech/web-storage

> Web Storage is a service used that exposes methods to get full control over storage mechanisms available via bucketing.

Latest version **0.0.5** (published 2024-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @groww-tech/web-storage
pnpm add @groww-tech/web-storage
yarn add @groww-tech/web-storage
bun add @groww-tech/web-storage
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2024-07-08 |
| First published | 2023-03-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 29.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Groww Core Team <web-core@groww.in> |
| Maintainers | vikaz707 |
| Keywords | storage, local storage, bucketing, groww, web service |

## Links

- npm: https://www.npmjs.com/package/@groww-tech/web-storage
- Repository: https://github.com/Groww-OSS/webster
- Homepage: https://github.com/Groww-OSS/webster/tree/develop/packages/web-storage#readme
- Issues: https://github.com/Groww-OSS/webster/issues
- npm.io page: https://npm.io/package/@groww-tech/web-storage

## Dependencies (2)

- [js-cookie](https://npm.io/package/js-cookie.md) 2.2.1
- [@groww-tech/ella](https://npm.io/package/@groww-tech/ella.md) 0.2.4

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2024-07-08
- 0.0.4 — 2024-04-22
- 0.0.3 — 2023-05-23
- 0.0.2 — 2023-05-10
- 0.0.1 — 2023-03-28

## README

# web-storage 
 [![npm version](https://img.shields.io/npm/v/@groww-tech/ella?color=51C838)](https://www.npmjs.com/package/@groww-tech/ella) 
 [![minzipped size](https://img.shields.io/bundlephobia/minzip/@groww-tech/ella)](https://bundlephobia.com/package/@groww-tech/ella)
 ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Groww/webster/web-storage.yml?color=51C838)

<br/>

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](./LICENSE).

<br/>

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

<br/>

---

---
_Source: https://npm.io/package/@groww-tech/web-storage · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
