# moisture

> Custom emitter for Most

Latest version **1.0.0** (published 2017-02-05) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2017-02-05 |
| First published | 2017-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | github.com/Huijari |
| Maintainers | huijari |

## Links

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

## Dependencies (1)

- [most](https://npm.io/package/most.md) ^1.2.1

## Recent versions

- 1.0.0 (latest) — 2017-02-05

## README

# moisture
> Custom emitter for Most

## Examples of use
```js
import moist from 'moisture';

const stream = moist();
stream
  .map(x => x * 2)
  .observe(console.log.bind(console));
stream
  .emit(1)
  .emit(2)
  .emit(3);

const value = moist();
value
  .map(input => input.trim())
  .observe(console.log.bind(console));
const input = h('input', {
  oninput: e => value.emit(e.target.value)
});
```

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