# callbag-of

> 👜 Callbag source factory that emits values specified as arguments.

Latest version **2.0.1** (published 2021-01-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install callbag-of
pnpm add callbag-of
yarn add callbag-of
bun add callbag-of
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2021-01-15 |
| First published | 2018-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Mateusz Burzyński |
| Maintainers | andarist |
| Keywords | callbag, callbags |

## Links

- npm: https://www.npmjs.com/package/callbag-of
- Repository: https://github.com/Andarist/callbag-of
- Homepage: https://github.com/Andarist/callbag-of#readme
- Issues: https://github.com/Andarist/callbag-of/issues
- npm.io page: https://npm.io/package/callbag-of

## Dependencies (1)

- [callbag](https://npm.io/package/callbag.md) ^1.4.0

## Recent versions

- 2.0.1 (latest) — 2021-01-15
- 2.0.0 — 2019-02-04
- 1.0.1 — 2018-07-19
- 1.0.0 — 2018-04-30
- 0.0.0 — 2018-04-19

## README

# callbag-of

Callbag source factory that emits values specified as arguments. It's similar to [`fromIter`](https://github.com/staltz/callbag-from-iter/), but this one creates a listenable source and does not rely on iteration protol.

## Example

```js
import observe from 'callbag-observe'
import of from 'callbag-of'
import pipe from 'callbag-pipe'

pipe(
  of(1, 2, 3, 4, 5),
  observe(value => {
    // will log 1, 2, 3, 4, 5
    console.log(value)
  }),
)
```

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