# @itzsunny/storageapi

> Run command for install `npm i -D @itzsunny/storageapi`

Latest version **0.0.10** (published 2023-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @itzsunny/storageapi
pnpm add @itzsunny/storageapi
yarn add @itzsunny/storageapi
bun add @itzsunny/storageapi
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.10 |
| Published | 2023-03-12 |
| First published | 2023-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | itzsunny |
| Keywords | storageapi, storageservice, localstorage, sessionstorage, storage service, localstoage.get |

## Links

- npm: https://www.npmjs.com/package/@itzsunny/storageapi
- npm.io page: https://npm.io/package/@itzsunny/storageapi

## 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.10 (latest) — 2023-03-12
- 0.0.9 — 2023-03-12
- 0.0.8 — 2023-03-12
- 0.0.7 — 2023-02-23
- 0.0.6 — 2023-02-23
- 0.0.5 — 2023-02-13
- 0.0.4 — 2023-02-13
- 0.0.3 — 2023-02-13
- 0.0.1 — 2023-02-13

## README

## Basic Storage Api

Run command for install `npm i -D @itzsunny/storageapi`

#### Example 
``` 
import Storage from '@itzsunny/storageapi';
const storage = new Storage("LOCAL");  // "LOCAL" | "SESSION"

storage.set(key, value); // Set value in localstorage
storage.get(key); // Get value in localstorage
storage.clear(key)// Clear value in localstorage
storage.cleanAll(); // Clear All value in localstorage
```

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