{"id":42700761,"url":"https://github.com/mostjs-community/most-rx-utils","last_synced_at":"2026-01-29T14:18:49.198Z","repository":{"id":47951189,"uuid":"178112550","full_name":"mostjs-community/most-rx-utils","owner":"mostjs-community","description":"A helpful library that provides some utility functions based on RxJS for Most.js","archived":false,"fork":false,"pushed_at":"2023-07-11T23:23:27.000Z","size":434,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-09T11:24:36.965Z","etag":null,"topics":["mostjs","operations","reactive-programming","rxjs"],"latest_commit_sha":null,"homepage":null,"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/mostjs-community.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":"2019-03-28T02:41:25.000Z","updated_at":"2025-04-17T22:19:12.000Z","dependencies_parsed_at":"2023-01-23T04:15:20.245Z","dependency_job_id":null,"html_url":"https://github.com/mostjs-community/most-rx-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mostjs-community/most-rx-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostjs-community%2Fmost-rx-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostjs-community%2Fmost-rx-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostjs-community%2Fmost-rx-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostjs-community%2Fmost-rx-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mostjs-community","download_url":"https://codeload.github.com/mostjs-community/most-rx-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostjs-community%2Fmost-rx-utils/sbom","scorecard":{"id":661072,"data":{"date":"2025-08-11","repo":{"name":"github.com/mostjs-community/most-rx-utils","commit":"9b706fbd23c6f7585163675f5abffec3b3a0322c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"22 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-2pr6-76vf-7546","Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T16:13:17.953Z","repository_id":47951189,"created_at":"2025-08-21T16:13:17.953Z","updated_at":"2025-08-21T16:13:17.953Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28879290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mostjs","operations","reactive-programming","rxjs"],"created_at":"2026-01-29T14:18:48.627Z","updated_at":"2026-01-29T14:18:49.175Z","avatar_url":"https://github.com/mostjs-community.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# most-rx-utils\n\nA helpful library that provides some utility functions based on [RxJS](https://github.com/ReactiveX/rxjs) for Most.js ([@most/core](https://github.com/mostjs/core)).\n\n## Install\n```sh\nnpm install --save most-rx-utils\n```\n\n## Differences between RxJS and most-rx-utils Operations\n\nTo follow the characteristics of Most.js ([@most/core](https://github.com/mostjs/core)), all operators available are curried. Hence, operations like bufferCount or bufferTime, that are overloaded in RxJS, are set to receive all possible parameters, so, for those parameters that should be optional, a proper value or either ```undefined``` or ```null``` are expected.\n\n## API\n**interval :: Number -\u003e Stream Number**\n\n```interval(period: number) : Stream\u003cnumber\u003e```\n\nEmits an infinite stream of numbers (starting at 0) according to a time interval (milliseconds).\n\nExample:\n```typescript\n// 0, 1, 2\nrunEffects(tap(console.log, take(3, interval(2000))));\n```\n---\n**timer :: Number | Date -\u003e Number | Undefined | Null -\u003e Stream Number**\n\n```timer(delay: number | Date, period: number | undefined | null): Stream\u003cnumber\u003e```\n\nEmits a single event containing value 0 after a delay. If the second argument is different from ```undefined``` or ```null```, subsequent values are then emitted according to the time period (milliseconds) passed in.\n\nExamples:\n```typescript\n// emit 0 after 2 seconds\nrunEffects(tap(console.log, take(3, timer(2000, undefined))), newDefaultScheduler());\n\n// emit 0 after 2 seconds and then, every 1 second, subsequent values are emitted, i.e. 1, 2, 3, 4, ...\nrunEffects(tap(console.log, take(3, timer(2000, 1000))), newDefaultScheduler());\n```\n---\n**bufferCount :: Number -\u003e Number | Undefined | Null -\u003e Stream * -\u003e Stream [*]**\n\n```bufferCount(bufferSize: number, startEvery: number | undefined | null, stream: Stream\u003cany\u003e): Stream\u003cany[]\u003e```\n\nBuffers stream elements while the informed buffer size is not reached. If the second argument is not ```undefined``` or ```null```, the next buffer starts according to the value passed in.\n\nExamples:\n```typescript\n// [0, 1, 2] [3, 4, 5] [6, 7, 8]\nrunEffects(tap(console.log, take(3, bufferCount(3, undefined, interval(2000)))), newDefaultScheduler());\n\n// [0, 1, 2] [1, 2, 3] [2, 3, 4]\nrunEffects(tap(console.log, take(3, bufferCount(3, 1, interval(2000)))), newDefaultScheduler());\n```\n---\n**bufferTime :: Number -\u003e Number | Undefined | Null -\u003e Stream * -\u003e Stream [*]**\n\n```bufferTime(period: number, creationInterval: number | undefined | null, stream: Stream\u003cany\u003e): Stream\u003cany[]\u003e```\n\nBuffers stream elements during a given time period (milliseconds). If the second argument is is not ```undefined``` or ```null```, the next buffer starts according to the time interval passed in.\n\nExamples:\n```typescript\n// [0, 1, 2] [3, 4, 5, 6] [7, 8, 9, 10]\nrunEffects(tap(console.log, take(3, bufferTime(2000, undefined, interval(500)))), newDefaultScheduler());\n\n// [0, 1, 2] [1, 2, 3, 4, 5] [3, 4, 5, 6, 7]\nrunEffects(tap(console.log, take(3, bufferTime(2000, 1000, interval(500)))), newDefaultScheduler());\n```\n---\n**bufferToggle :: Stream * -\u003e Stream * -\u003e Stream * -\u003e Stream [*]**\n\n```bufferToggle(startSignal: Stream\u003cany\u003e, endSignal: Stream\u003cany\u003e, stream: Stream\u003cany\u003e): Stream\u003cany[]\u003e```\n\nUses streams to control when to start collecting elements (startSignal) and to emit the collected elements as array (endSignal).\n\nExample:\n```typescript\n// [4, 5, 6, 7] [9, 10, 11, 12] [14, 15, 16, 17]\nrunEffects(tap(console.log, take(3, bufferToggle(interval(5000), timer(3000, undefined), interval(1000)))), newDefaultScheduler());\n```\n## Made with\n\n[package-seed](https://github.com/mostjs-community/package-seed)\n\n## License\n\nmost-rx-utils is available under the MIT license. See the [LICENSE file](https://github.com/mostjs-community/most-rx-utils/blob/master/LICENSE) for more info.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostjs-community%2Fmost-rx-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostjs-community%2Fmost-rx-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostjs-community%2Fmost-rx-utils/lists"}