{"id":2422899,"name":"switchmap","ecosystem":"npm","description":"An all purpose, composable, performant router.","homepage":"https://github.com/flitbit/switchmap#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/flitbit/switchmap","keywords_array":["switch","switch-map","dispatcher","router"],"namespace":null,"versions_count":21,"first_release_published_at":"2020-02-17T20:02:33.129Z","latest_release_published_at":"2021-10-26T18:32:08.178Z","latest_release_number":"1.1.1","last_synced_at":"2026-01-24T18:17:14.009Z","created_at":"2022-04-10T01:34:19.726Z","updated_at":"2026-08-28T19:04:34.593Z","registry_url":"https://www.npmjs.com/package/switchmap","install_command":"npm install switchmap","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"master":"1.1.2-master.a183b95","latest":"1.1.1","dependabot-npm-and-yarn-acorn-7-1-1":"1.0.1-dependabot-npm-and-yarn-acorn-7-1-1.d245b3c","dependabot-npm-and-yarn-jquery-3-5-0":"1.0.1-dependabot-npm-and-yarn-jquery-3-5-0.36b6874","retool":"1.0.2-retool.4e84aa8","rollup":"1.1.1-rollup.23ea10d","dependabot-npm-and-yarn-terser-5-14-2":"1.1.2-dependabot-npm-and-yarn-terser-5-14-2.dd2bc10","dependabot-npm-and-yarn-json5-2-2-3":"1.1.2-dependabot-npm-and-yarn-json5-2-2-3.28ddfd8","dependabot-npm-and-yarn-minimist-1-2-8":"1.1.2-dependabot-npm-and-yarn-minimist-1-2-8.9a962de"}},"repo_metadata":{"id":42928792,"uuid":"241160433","full_name":"flitbit/switchmap","owner":"flitbit","description":"An independent SwitchMap, inspired by RxJs, for Nodejs and Javascript.","archived":false,"fork":false,"pushed_at":"2023-03-04T06:04:49.000Z","size":513,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-28T14:23:08.511Z","etag":null,"topics":[],"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/flitbit.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":"2020-02-17T16:55:41.000Z","updated_at":"2021-10-26T18:30:41.000Z","dependencies_parsed_at":"2023-02-06T11:46:48.186Z","dependency_job_id":null,"html_url":"https://github.com/flitbit/switchmap","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/flitbit/switchmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flitbit%2Fswitchmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flitbit%2Fswitchmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flitbit%2Fswitchmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flitbit%2Fswitchmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flitbit","download_url":"https://codeload.github.com/flitbit/switchmap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flitbit%2Fswitchmap/sbom","scorecard":{"id":403433,"data":{"date":"2025-08-11","repo":{"name":"github.com/flitbit/switchmap","commit":"a183b957210f72b320093f9035c3f2efdd851ab3"},"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":"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":"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":"Code-Review","score":0,"reason":"Found 1/15 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":"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":"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":"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":"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":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-q765-wm9j-66qj","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","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-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-18T20:37:34.030Z","repository_id":42928792,"created_at":"2025-08-18T20:37:34.030Z","updated_at":"2025-08-18T20:37:34.030Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278175711,"owners_count":25942750,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"flitbit","name":"flitbit","uuid":"1213114","kind":"organization","description":"","email":"code@flitbit.org","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/1213114?v=4","repositories_count":76,"last_synced_at":"2024-04-12T23:28:32.941Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/flitbit","funding_links":[],"total_stars":3158,"followers":4,"following":0,"created_at":"2022-11-02T16:26:56.561Z","updated_at":"2024-04-12T23:28:56.516Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flitbit","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flitbit/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-08-28T19:04:34.591Z","dependent_packages_count":0,"downloads":80,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":15.33281324157737,"dependent_repos_count":10.34547353362831,"dependent_packages_count":52.040798532004395,"stargazers_count":20.964525043420785,"forks_count":15.424529522485154,"docker_downloads_count":null,"average":22.821627974623205},"purl":"pkg:npm/switchmap","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/switchmap","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/switchmap","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/switchmap/dependencies","status":"unpublished","funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-28T09:12:30.029Z","issues_count":0,"pull_requests_count":19,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":10968680.125,"issues_closed_count":0,"pull_requests_closed_count":16,"pull_request_authors_count":3,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.7894736842105263,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":17,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/flitbit%2Fswitchmap/issues","maintainers":[{"login":"flitbit","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/flitbit"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/switchmap/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/switchmap/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/switchmap/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/switchmap/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/switchmap/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/switchmap/codemeta","maintainers":[{"uuid":"cerebralkungfu","login":"cerebralkungfu","name":null,"email":"phillip@flitbit.com","url":null,"packages_count":15,"html_url":"https://www.npmjs.com/~cerebralkungfu","role":null,"created_at":"2022-11-14T17:03:53.255Z","updated_at":"2022-11-14T17:03:53.255Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/cerebralkungfu/packages"}]}