# rx-bundle-last

> Emit an array of the latest emitted value

Latest version **1.1.0** (published 2015-08-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install rx-bundle-last
pnpm add rx-bundle-last
yarn add rx-bundle-last
bun add rx-bundle-last
```

## 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.1.0 |
| Published | 2015-08-22 |
| First published | 2015-08-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Thomas Sileghem |
| Maintainers | mastilver |

## Links

- npm: https://www.npmjs.com/package/rx-bundle-last
- Repository: https://github.com/mastilver/rx-bundle-last
- Homepage: https://github.com/mastilver/rx-bundle-last#readme
- Issues: https://github.com/mastilver/rx-bundle-last/issues
- npm.io page: https://npm.io/package/rx-bundle-last

## Recent versions

- 1.1.0 (latest) — 2015-08-22
- 1.0.0 — 2015-08-19
- 0.1.0 — 2015-08-18

## README

# rx-bundle-last [![Build Status](https://travis-ci.org/mastilver/rx-bundle-last.svg?branch=master)](https://travis-ci.org/mastilver/rx-bundle-last)[![Coverage Status](https://coveralls.io/repos/mastilver/rx-bundle-last/badge.svg?branch=master&service=github)](https://coveralls.io/github/mastilver/rx-bundle-last?branch=master)

> Emit an array of the latest emitted value


## Install

```
$ npm install --save rx-bundle-last
```


## Usage

```js

var rxBundleLast = require('rx-bundle-last');

var source = getData(); // get an Observable

var bundledSource = rxBundleLast(source, 5);

bundledSource.forEach(function(array){
    assert.equal(array.length, 5);
});


```


## API

### rxBundleLast(source, min, [max])

#### source

*Required*  
Type: `Observable`

From which the bundled source is created

#### min

*Required*  
Type: `int`

The minimum size the emitted array will be

#### max

Type: `int`  
Default: min

The maximum size the emitted array will be


## License

MIT © [Thomas Sileghem](https://github.com/mastilver)

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