# metstrike-reactive-dict

> MDG's reactive-dict packaged for NPM

Latest version **1.1.18** (published 2017-04-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install metstrike-reactive-dict
pnpm add metstrike-reactive-dict
yarn add metstrike-reactive-dict
bun add metstrike-reactive-dict
```

## 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.18 |
| Published | 2017-04-23 |
| First published | 2017-04-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | metstrike |
| Maintainers | metstrike |

## Links

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

## Dependencies (4)

- [underscore](https://npm.io/package/underscore.md) ^1.8.3
- [metstrike-ejson](https://npm.io/package/metstrike-ejson.md) *
- [metstrike-tracker](https://npm.io/package/metstrike-tracker.md) *
- [metstrike-mongo-id](https://npm.io/package/metstrike-mongo-id.md) *

## Recent versions

- 1.1.18 (latest) — 2017-04-23

## README

# reactive-dict
[Source code of released version](https://github.com/meteor/meteor/tree/master/packages/reactive-dict) | [Source code of development version](https://github.com/meteor/meteor/tree/devel/packages/reactive-dict)
***

#### This package has been minimally modified to work with NPM in support of [React Meteor Standalone Mixin](https://www.npmjs.com/package/meteor-standalone-react-mixin) ####

This package provide `ReactiveDict`, a general-purpose reactive
datatype for use with
[tracker](https://atmospherejs.com/meteor/tracker). It provides all of
the functionality of the `Session` object documented in the [main
Meteor docs](https://docs.meteor.com/#session), such as reactive
`get`, `set`, and `equals` functions.

If you provide a name to its constructor, its contents will be saved across Hot
Code Push client code updates.

Example usage:

```js
var dict = new ReactiveDict('myDict');
dict.set("weather", "cloudy");
Tracker.autorun(function () { console.log("now " + dict.get("weather")); });
// now cloudy
dict.set("weather", "sunny");
// now sunny
```

For more information, see the [Tracker project
page](https://www.meteor.com/tracker).

## Future work

Unify with [reactive-var](https://atmospherejs.com/meteor/reactive-var).

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