# blox-store

> get and set JSON data from local storage

Latest version **1.0.0** (published 2018-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install blox-store
pnpm add blox-store
yarn add blox-store
bun add blox-store
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-08-30 |
| First published | 2018-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | @bkawk |
| Maintainers | eosblox |

## Links

- npm: https://www.npmjs.com/package/blox-store
- Repository: https://github.com/eosblox/blox-store
- Homepage: https://github.com/eosblox/blox-store#readme
- Issues: https://github.com/eosblox/blox-store/issues
- npm.io page: https://npm.io/package/blox-store

## Dependencies (1)

- [@polymer/polymer](https://npm.io/package/@polymer/polymer.md) ^3.0.0

## Recent versions

- 1.0.0 (latest) — 2018-08-30

## README

# \<blox-store\>

Get, set and delete JSON data from local storage

## Install the Polymer-CLI

First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) and npm (packaged with [Node.js](https://nodejs.org)) installed. Run `npm install` to install your element's dependencies, then run `polymer serve` to serve your element locally.

## Install blox-store

```
$ npm install blox-store
```

## Viewing Your Element

```
$ polymer serve
```

## Running Tests

```
$ polymer test
```

## Import

```
$ import 'blox-store';
```

## Basic Use

```html
<blox-store
    key="myApp"
    value="{'name': 'Will'}"
    operation="set">
</blox-store>
```

## Javascript Use

```html
<blox-store id="bloxStore"></blox-store>
<script>
    this.$.bloxStore.set('myApp', {'name': 'Will'})
    .then((hash) => {
        // Do Something
    })
    .catch((err) => {
        // Do Something
    })
</script>
```

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