# observ-value

> Get the value of an observable via a single interface

Latest version **1.0.0** (published 2015-09-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install observ-value
pnpm add observ-value
yarn add observ-value
bun add observ-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 | 2015-09-11 |
| First published | 2015-09-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Ben Drucker |
| Maintainers | bendrucker |
| Keywords | observ, observable, value |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2015-09-11

## README

# observ-value [![Build Status](https://travis-ci.org/bendrucker/observ-value.svg?branch=master)](https://travis-ci.org/bendrucker/observ-value)

> Get the value of an observable via a single interface

## Install

```
$ npm install --save observ-value
```


## Usage

observ-value is designed to let you easily write functions that can take both observables themselves as well as the copies they return/emit.

```js
var value = require('observ-value')
var Observ = require('observ')

var name = Observ('Ben')

value(name)
//=> Ben

value(name())
//=> Ben
```

## API

#### `value(input)` -> `any`

##### input

*Required*  
Type: `any`

Either an [observable](https://github.com/raynos/observ) or a copy emitted by the observable.


## License

MIT © [Ben Drucker](http://bendrucker.me)

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