{"id":2219815,"name":"rainbow","ecosystem":"npm","description":"Express router middleware for RESTful API base on certain folder path","homepage":"https://github.com/mytharcher/rainbow#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mytharcher/rainbow","keywords_array":["express","middleware","web","rest","restful","router","app","api","ajax","controller","filter"],"namespace":null,"versions_count":21,"first_release_published_at":"2012-11-10T05:49:16.230Z","latest_release_published_at":"2019-08-06T05:29:09.681Z","latest_release_number":"2.4.1","last_synced_at":"2026-07-25T23:31:00.385Z","created_at":"2022-04-09T22:40:25.086Z","updated_at":"2026-08-29T13:01:56.669Z","registry_url":"https://www.npmjs.com/package/rainbow","install_command":"npm install rainbow","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"2.4.1"}},"repo_metadata":{"id":5432249,"uuid":"6624592","full_name":"mytharcher/rainbow","owner":"mytharcher","description":"An Express router middleware for RESTful API base on file path.","archived":false,"fork":false,"pushed_at":"2019-08-06T05:28:58.000Z","size":37,"stargazers_count":52,"open_issues_count":2,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-07-29T04:00:30.568Z","etag":null,"topics":["express","middleware","nodejs","router"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mytharcher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-10T05:12:09.000Z","updated_at":"2020-10-13T09:53:15.000Z","dependencies_parsed_at":"2022-09-20T02:11:28.391Z","dependency_job_id":null,"html_url":"https://github.com/mytharcher/rainbow","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mytharcher/rainbow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mytharcher","download_url":"https://codeload.github.com/mytharcher/rainbow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/sbom","scorecard":{"id":671468,"data":{"date":"2025-08-11","repo":{"name":"github.com/mytharcher/rainbow","commit":"1302adab1e31ec009c25d6c38ec86b03f1142cc3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 1/29 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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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 2 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"}}]},"last_synced_at":"2025-08-21T20:13:23.283Z","repository_id":5432249,"created_at":"2025-08-21T20:13:23.283Z","updated_at":"2025-08-21T20:13:23.283Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36943318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-27T02:00:07.166Z","response_time":96,"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":"mytharcher","name":"Junyi","uuid":"525658","kind":"user","description":"","email":"","website":"https://yanjunyi.com","location":"Kunming, China","twitter":"mytharcher","company":"Rogue.group","icon_url":"https://avatars.githubusercontent.com/u/525658?v=4","repositories_count":36,"last_synced_at":"2024-04-14T08:19:16.485Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/mytharcher","funding_links":[],"total_stars":611,"followers":302,"following":41,"created_at":"2022-11-03T07:47:44.833Z","updated_at":"2024-04-14T08:19:27.672Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mytharcher","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mytharcher/repositories"},"tags":[{"name":"v2.4.0","sha":"853541c73b6058d010bcb9879d17d2892c3b6e52","kind":"commit","published_at":"2018-01-09T16:52:37.000Z","download_url":"https://codeload.github.com/mytharcher/rainbow/tar.gz/v2.4.0","html_url":"https://github.com/mytharcher/rainbow/releases/tag/v2.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mytharcher/rainbow@v2.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v2.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v2.4.0/manifests"},{"name":"v2.2.0","sha":"b83bc4341309962482cef90ae6fd991c03f640e4","kind":"commit","published_at":"2017-10-17T08:11:24.000Z","download_url":"https://codeload.github.com/mytharcher/rainbow/tar.gz/v2.2.0","html_url":"https://github.com/mytharcher/rainbow/releases/tag/v2.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mytharcher/rainbow@v2.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v2.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v2.2.0/manifests"},{"name":"v2.1.1","sha":"0641ccaf33a468bc617e573797b7972f8591c008","kind":"commit","published_at":"2017-10-17T05:37:09.000Z","download_url":"https://codeload.github.com/mytharcher/rainbow/tar.gz/v2.1.1","html_url":"https://github.com/mytharcher/rainbow/releases/tag/v2.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mytharcher/rainbow@v2.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v2.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v2.1.1/manifests"},{"name":"v2.0.0","sha":"cbb115fd19f5ec8ff8aed959df7612d3d7185cfb","kind":"commit","published_at":"2017-10-08T09:18:24.000Z","download_url":"https://codeload.github.com/mytharcher/rainbow/tar.gz/v2.0.0","html_url":"https://github.com/mytharcher/rainbow/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mytharcher/rainbow@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v2.0.0/manifests"},{"name":"v1.0.0","sha":"da48b85dbe58100c51e92f8d4580df5062fe5a60","kind":"commit","published_at":"2017-09-12T10:14:15.000Z","download_url":"https://codeload.github.com/mytharcher/rainbow/tar.gz/v1.0.0","html_url":"https://github.com/mytharcher/rainbow/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mytharcher/rainbow@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytharcher%2Frainbow/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-08-29T13:01:56.669Z","dependent_packages_count":2,"downloads":46,"downloads_period":"last-month","dependent_repos_count":11,"rankings":{"downloads":14.35708571984285,"dependent_repos_count":3.5528864356371357,"dependent_packages_count":8.856726766155058,"stargazers_count":5.950877283730647,"forks_count":5.541413035871033,"docker_downloads_count":null,"average":7.651797848247345},"purl":"pkg:npm/rainbow","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/rainbow","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/rainbow","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/rainbow/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-27T14:13:00.919Z","issues_count":7,"pull_requests_count":2,"avg_time_to_close_issue":44401163.4,"avg_time_to_close_pull_request":45027.5,"issues_closed_count":5,"pull_requests_closed_count":2,"pull_request_authors_count":2,"issue_authors_count":3,"avg_comments_per_issue":0.5714285714285714,"avg_comments_per_pull_request":0.5,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":0,"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/mytharcher%2Frainbow/issues","maintainers":[{"login":"mytharcher","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mytharcher"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/rainbow/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/rainbow/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/rainbow/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/rainbow/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/rainbow/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/rainbow/codemeta","maintainers":[{"uuid":"mytharcher","login":"mytharcher","name":null,"email":"mytharcher@gmail.com","url":null,"packages_count":12,"html_url":"https://www.npmjs.com/~mytharcher","role":null,"created_at":"2022-11-13T23:37:52.271Z","updated_at":"2022-11-13T23:37:52.271Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mytharcher/packages"}]}