# react-level-value

> Live updating leveldb value component for react

Latest version **1.0.0** (published 2017-10-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-level-value
pnpm add react-level-value
yarn add react-level-value
bun add react-level-value
```

## 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 | 2017-10-20 |
| First published | 2017-10-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Julian Gruber |
| Maintainers | juliangruber |

## Links

- npm: https://www.npmjs.com/package/react-level-value
- Repository: https://github.com/juliangruber/react-level-value
- Homepage: https://github.com/juliangruber/react-level-value#readme
- Issues: https://github.com/juliangruber/react-level-value/issues
- npm.io page: https://npm.io/package/react-level-value

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^16.0.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.0.0

## Recent versions

- 1.0.0 (latest) — 2017-10-20

## README

# react-level-value

Live updating [leveldb](https://leveldb.org) value component for [react](https://reactjs.org/)!

## Example

```js
import React from 'react'
import level from 'level'
import { Value } from 'react-level-value'

const db = level('/tmp/react-level-value')

class Example extends React.Component {
  render () {
    return (
      <div>
        Live value: <Value db={db} levelKey="key" />
      </div>
    )
  }
}
```

Now the `<Value />` component will always reflect the value you have stored in your database at `key`.

Find a full example in [/example](example):

```bash
$ npm install
$ npm run rebuild
$ npm start
```

![screenshot](screenshot.png)

## Installation

```bash
$ npm install react-level-value
```

## API

### `<Value db levelKey />`

## License

MIT

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