{"id":16387495,"url":"https://github.com/mastilver/rx-bundle-last","last_synced_at":"2025-07-02T11:38:01.610Z","repository":{"id":36755036,"uuid":"41061691","full_name":"mastilver/rx-bundle-last","owner":"mastilver","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-23T13:02:23.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-19T15:03:31.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mastilver.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-19T21:57:28.000Z","updated_at":"2015-08-19T22:34:47.000Z","dependencies_parsed_at":"2022-09-05T21:30:24.935Z","dependency_job_id":null,"html_url":"https://github.com/mastilver/rx-bundle-last","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Frx-bundle-last","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Frx-bundle-last/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Frx-bundle-last/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Frx-bundle-last/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mastilver","download_url":"https://codeload.github.com/mastilver/rx-bundle-last/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240170087,"owners_count":19759145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T04:26:41.316Z","updated_at":"2025-02-22T12:16:08.912Z","avatar_url":"https://github.com/mastilver.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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\u0026service=github)](https://coveralls.io/github/mastilver/rx-bundle-last?branch=master)\n\n\u003e Emit an array of the latest emitted value\n\n\n## Install\n\n```\n$ npm install --save rx-bundle-last\n```\n\n\n## Usage\n\n```js\n\nvar rxBundleLast = require('rx-bundle-last');\n\nvar source = getData(); // get an Observable\n\nvar bundledSource = rxBundleLast(source, 5);\n\nbundledSource.forEach(function(array){\n    assert.equal(array.length, 5);\n});\n\n\n```\n\n\n## API\n\n### rxBundleLast(source, min, [max])\n\n#### source\n\n*Required*  \nType: `Observable`\n\nFrom which the bundled source is created\n\n#### min\n\n*Required*  \nType: `int`\n\nThe minimum size the emitted array will be\n\n#### max\n\nType: `int`  \nDefault: min\n\nThe maximum size the emitted array will be\n\n\n## License\n\nMIT © [Thomas Sileghem](https://github.com/mastilver)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastilver%2Frx-bundle-last","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastilver%2Frx-bundle-last","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastilver%2Frx-bundle-last/lists"}