# large-locastorage

> Safe local storage for large data.

Latest version **0.1.0** (published 2019-10-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install large-locastorage
pnpm add large-locastorage
yarn add large-locastorage
bun add large-locastorage
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-10-17 |
| First published | 2019-10-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 22 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | atool |

## Links

- npm: https://www.npmjs.com/package/large-locastorage
- npm.io page: https://npm.io/package/large-locastorage

## Recent versions

- 0.1.0 (latest) — 2019-10-17

## README

# large-localstorage

> Safe local storage wrapper for large data.


[![Build Status](https://travis-ci.org/hustcc/large-localstorage.svg?branch=master)](https://travis-ci.org/hustcc/large-localstorage)
[![Coverage Status](https://coveralls.io/repos/github/hustcc/large-localstorage/badge.svg?branch=master)](https://coveralls.io/github/hustcc/large-localstorage?branch=master)
[![npm Version](https://img.shields.io/npm/v/large-localstorage.svg)](https://www.npmjs.com/package/large-localstorage)
[![npm Download](https://img.shields.io/npm/dm/large-localstorage.svg)](https://www.npmjs.com/package/large-localstorage)
[![npm License](https://img.shields.io/npm/l/large-localstorage.svg)](https://www.npmjs.com/package/large-localstorage)


## Usage


 - Install

> npm i --save large-localstorage


 - API
 
API is same with `window.localstorage`.

```ts
import lls from 'large-localstorage';

lls.setItem('string', 'hello world!');
lls.setItem('large', new Array(5 * 1025 * 1025).fill('a').join(''));

lls.getItem('large');

lls.removeItem('string');

lls.clear();
```


## License

MIT@[hustcc](https://github.com/hustcc).

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