# observ-varhash

> An object with observable key value pairs that can be added and removed

Latest version **1.0.8** (published 2016-02-03) · 0 weekly downloads

## Install

```sh
npm install observ-varhash
pnpm add observ-varhash
yarn add observ-varhash
bun add observ-varhash
```

## 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.8 |
| Published | 2016-02-03 |
| First published | 2014-06-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Nicholas Westlake |
| Maintainers | nrw |

## Links

- npm: https://www.npmjs.com/package/observ-varhash
- Repository: https://github.com/nrw/observ-varhash
- Issues: https://github.com/nrw/observ-varhash/issues
- npm.io page: https://npm.io/package/observ-varhash

## Dependencies (2)

- [xtend](https://npm.io/package/xtend.md) ~3.0.0
- [observ](https://npm.io/package/observ.md) ~0.2.0

## Recent versions

- 1.0.8 (latest) — 2016-02-03
- 1.0.7 — 2016-01-29
- 1.0.6 — 2015-05-28
- 1.0.5 — 2015-03-18
- 1.0.4 — 2014-12-23
- 1.0.3 — 2014-12-23
- 1.0.2 — 2014-12-16
- 1.0.1 — 2014-12-15
- 1.0.0 — 2014-12-01
- 0.3.0 — 2014-10-15
- 0.2.0 — 2014-07-18
- 0.1.4 — 2014-07-18
- 0.1.3 — 2014-07-06
- 0.1.2 — 2014-06-09
- 0.1.1 — 2014-06-07
- … 4 more at https://npm.io/package/observ-varhash/versions

## README

# observ-varhash [![build status][1]][2]

An object with observable key value pairs that can be added and removed

## Example

An `ObservVarhash` is a version of `observ-struct` that allows
  adding and removing keys. Mutation of an observable element in
  the hash will cause the `ObservVarhash` to emit a new changed
  plain javascript object.

```js
var ObservVarhash = require("observ-varhash")
var Observ = require("observ")

var people = ObservVarhash({jack: 'Jack'}, function create (obj, key) {
  return Observ(obj)
})

people.put('diane', 'Diane')

console.log(people())
// plain javascript object {jack: 'Jack', diane: 'Diane'}
```

## Installation

`npm install observ-varhash`

## Contributors

 - Nicholas Westlake

API based on [`observ-struct`](https://github.com/Raynos/observ-struct)

## MIT Licenced

  [1]: https://secure.travis-ci.org/nrw/observ-varhash.png
  [2]: https://travis-ci.org/nrw/observ-varhash

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