# callbag-pull

> Callbag operator that pulls a source for a given number of times

Latest version **1.0.1** (published 2019-05-15) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2019-05-15 |
| First published | 2019-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Matthias Perktold |
| Maintainers | mperktold |
| Keywords | callbag, pull, reactive |

## Links

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

## Recent versions

- 1.0.1 (latest) — 2019-05-15
- 1.0.0 — 2019-05-15

## README

# callbag-pull

Callbag operator that pulls a source for a given number of times.

`npm install callbag-pull`

**Example**

The following code creates a pullable source of 10 items, pulls the first two of them and logs them to the console.

```javascript
const range   = require('callbag-range');
const pull    = require('callbag-pull');
const observe = require('callbag-observe');
const pipe    = require('callbag-pipe');

pipe(
  range(1, 10),
  pull(2),
  observe(x => console.log(x))      // logs 1, 2
);
```

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