# mfreactivity

> A simple reactive tool

Latest version **1.1.0** (published 2017-12-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install mfreactivity
pnpm add mfreactivity
yarn add mfreactivity
bun add mfreactivity
```

## 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.0 |
| Published | 2017-12-14 |
| First published | 2017-12-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | mcfinley |
| Maintainers | mcfinley |

## Links

- npm: https://www.npmjs.com/package/mfreactivity
- Repository: https://github.com/mcfinley/mfreactivity
- Homepage: https://github.com/mcfinley/mfreactivity#readme
- Issues: https://github.com/mcfinley/mfreactivity/issues
- npm.io page: https://npm.io/package/mfreactivity

## Recent versions

- 1.1.0 (latest) — 2017-12-14
- 1.0.0 — 2017-12-14

## README

## mfreactivity

#### Usage

```
  import reactive from 'mfreactivity';

  const node = reactive();

  node.subscribe('some-field', function () {
    console.log('Some Field is changed');
  });

  node.emit('some-field');

  node.subscribe('some-user', function () {
    console.log('Some User is changed!');
  });

  node.subscribe('some-user.name', function () {
    console.log('Some Users name is changed!');
  });

  // Will produce two messages
  node.emit('some-user.name');
```

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