{"id":19641745,"url":"https://github.com/layzeedk/rxjs-multi-scan","last_synced_at":"2025-10-06T21:24:25.252Z","repository":{"id":113719815,"uuid":"141941072","full_name":"LayZeeDK/rxjs-multi-scan","owner":"LayZeeDK","description":"multiScan operator for RxJS - Combine multiple sources into a single scan operation.","archived":false,"fork":false,"pushed_at":"2018-10-25T18:02:00.000Z","size":113,"stargazers_count":15,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-06-15T22:07:33.943Z","etag":null,"topics":["operator","rxjs","rxjs6"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/LayZeeDK.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-07-23T00:13:12.000Z","updated_at":"2024-08-30T21:40:01.000Z","dependencies_parsed_at":"2023-04-17T10:55:09.090Z","dependency_job_id":null,"html_url":"https://github.com/LayZeeDK/rxjs-multi-scan","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"e3e623283c22d388d75de658f1414125851f4057"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LayZeeDK/rxjs-multi-scan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Frxjs-multi-scan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Frxjs-multi-scan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Frxjs-multi-scan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Frxjs-multi-scan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LayZeeDK","download_url":"https://codeload.github.com/LayZeeDK/rxjs-multi-scan/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Frxjs-multi-scan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262452388,"owners_count":23313432,"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":["operator","rxjs","rxjs6"],"created_at":"2024-11-11T14:10:16.560Z","updated_at":"2025-10-06T21:24:20.201Z","avatar_url":"https://github.com/LayZeeDK.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `multiScan` operator for RxJS\n## rxjs-multi-scan\nA combination operator that combines multiple sources of scan operations.\n\n## Installation\nInstall using NPM CLI\n```\nnpm install --save rxjs-multi-scan\n```\n\nor using Yarn CLI\n```\nyarn add rxjs-multi-scan\n```\n\n## Use cases\nCreate a reactive state container that reacts to multiple observables with a\nsimple, easy-to-read syntax. Each source is combined with a reducer function to\nreduce the current state and the emitted value to a new state.\n\n## Usage\n```typescript\nimport { Observable, Subject } from 'rxjs';\nimport { multiScan } from 'rxjs-multi-scan';\n\nconst initialCount: number = 0;\nconst add: Subject\u003cnumber\u003e = new Subject();\nconst subtract: Subject\u003cnumber\u003e = new Subject();\nconst count: Observable\u003cnumber\u003e = multiScan(\n  add, (count, addend) =\u003e count + addend,\n  subtract, (count, subtrahend) =\u003e count - subtrahend,\n  initialCount);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayzeedk%2Frxjs-multi-scan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flayzeedk%2Frxjs-multi-scan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayzeedk%2Frxjs-multi-scan/lists"}