# local-storage-ts

> npm install local-storage-ts --save

Latest version **0.0.2** (published 2020-07-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install local-storage-ts
pnpm add local-storage-ts
yarn add local-storage-ts
bun add local-storage-ts
```

## 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.2 |
| Published | 2020-07-20 |
| First published | 2020-07-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | zkeyword |
| Keywords | localStorage |

## Links

- npm: https://www.npmjs.com/package/local-storage-ts
- npm.io page: https://npm.io/package/local-storage-ts

## 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.2 (latest) — 2020-07-20
- 0.0.1 — 2020-07-20

## README

### Install

npm install local-storage-ts --save

### Use

`
import storage from 'local-storage-ts'

storage.set('key', 'value')
storage.set('arr', [1, 2, 3])
storage.set('obj', {a: '1'})

storage.get('key') // <- 'value'
storage.get('arr') // <- [1, 2, 3]
storage.get('obj') // <- {a: '1'}
`

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