# meteor-reactive-object

> makes an object reactive using es6 proxies

Latest version **1.1.1** (published 2017-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install meteor-reactive-object
pnpm add meteor-reactive-object
yarn add meteor-reactive-object
bun add meteor-reactive-object
```

## 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.1.1 |
| Published | 2017-06-06 |
| First published | 2017-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Max Nowack |
| Maintainers | maxnowack |

## Links

- npm: https://www.npmjs.com/package/meteor-reactive-object
- Repository: https://github.com/maxnowack/meteor-reactive-object
- Homepage: https://github.com/maxnowack/meteor-reactive-object#readme
- Issues: https://github.com/maxnowack/meteor-reactive-object/issues
- npm.io page: https://npm.io/package/meteor-reactive-object

## Dependencies (1)

- [meteor-globals](https://npm.io/package/meteor-globals.md) 1.1.1

## Recent versions

- 1.1.1 (latest) — 2017-06-06
- 1.1.0 — 2017-04-28
- 1.0.2 — 2017-04-28
- 1.0.1 — 2017-04-11
- 1.0.0 — 2017-04-10

## README

# meteor-reactive-object [![Build Status](https://travis-ci.org/maxnowack/meteor-reactive-object.svg?branch=master)](https://travis-ci.org/maxnowack/meteor-reactive-object)
Makes an object reactive using es6 proxies

### Installation
````bash
  $ npm install --save meteor-reactive-object
````

### Usage

````es6
import { Tracker } from 'meteor/tracker'
import reactiveObject, { isSupported } from 'meteor-reactive-object'

if (!isSupported()) throw new Error('ES6 proxies are not supported by your environment!')
const obj = reactiveObject() // reactiveObject(intitialValue: object = {}, options: object = { recursive: true, compare: (a, b) => a === b })

Tracker.autorun(() => {
  console.log(obj.foo)
})

obj.foo = 'bar'
````

## License
Licensed under MIT license. Copyright (c) 2017 Max Nowack

## Contributions
Contributions are welcome. Please open issues and/or file Pull Requests.

## Maintainers
- Max Nowack ([maxnowack](https://github.com/maxnowack))

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