# storage-lite

> this is a lite storage lib with get Object and time exprise.

Latest version **0.5.3** (published 2022-03-13) · 0 weekly downloads

## Install

```sh
npm install storage-lite
pnpm add storage-lite
yarn add storage-lite
bun add storage-lite
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.3 |
| Published | 2022-03-13 |
| First published | 2022-03-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 18.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sean.shi |
| Maintainers | sean.shi |

## Links

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

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^3.2.25

## Recent versions

- 0.5.3 (latest) — 2022-03-13
- 0.5.2 — 2022-03-13

## README

## storage-lite Libs

this is a lite storage lib with get Object and time exprise.

it's support all morden browser and support set or get a js object value.

### simple use

1. save a object value

```javascript
    import Storage from 'storage-lite'
    const storage = new Storage('tiny');
    const testVal = {say: 'hello world!'}
    // set to localstorage
    storage.setItem('test', testVal);
    // you will save this value

```

2. get a value

```javascript
    import Storage from 'storage-lite'
    const storage = new Storage('tiny');

    // set to localstorage
    const val = storage.getItem('test');
    console.log(val);
    // => {say: 'hello world!'}
    // that's so cool!

```

4. remove a Value

```javascript



```

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