{"id":2298731,"name":"replace-case","ecosystem":"npm","description":"Like String.prototype.replace() but attempts to match the casing of the substring being replaced.","homepage":"https://github.com/jonschlinkert/replace-case","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/jonschlinkert/replace-case","keywords_array":["case","camelcase","lowercase","snakecase","uppercase","snake","camel","title","titlecase","case-sensitive","match","matches","exec","occurrence","occurrences","pattern","patterns","regex","regular expression","replace","replace-case","replacement","string","substring"],"namespace":null,"versions_count":2,"first_release_published_at":"2021-02-19T09:35:12.868Z","latest_release_published_at":"2023-11-04T02:19:54.700Z","latest_release_number":"1.0.1","last_synced_at":"2026-06-14T12:09:24.325Z","created_at":"2022-04-09T23:50:05.621Z","updated_at":"2026-06-14T12:09:24.325Z","registry_url":"https://www.npmjs.com/package/replace-case","install_command":"npm install replace-case","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.1"}},"repo_metadata":{"id":57353686,"uuid":"340321700","full_name":"jonschlinkert/replace-case","owner":"jonschlinkert","description":"Like String.prototype.replace() but attempts to match the casing of the substring being replaced. Useful when renaming mixed-case variables, refactoring code or moving hard-coded values into variables. ","archived":false,"fork":false,"pushed_at":"2023-11-04T02:19:17.000Z","size":13,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-19T04:24:56.273Z","etag":null,"topics":["case","case-sensitive","match","regex","regexp","replace","replacement","string"],"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/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jonschlinkert"}},"created_at":"2021-02-19T09:35:34.000Z","updated_at":"2023-11-04T02:19:15.000Z","dependencies_parsed_at":"2025-03-11T03:41:28.973Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/replace-case","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jonschlinkert/replace-case","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/replace-case/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case/sbom","scorecard":{"id":532057,"data":{"date":"2025-08-11","repo":{"name":"github.com/jonschlinkert/replace-case","commit":"4e2ce1bc16d3dcf1061483ff91e0691cddfbd3fe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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 0/7 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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/jonschlinkert/replace-case/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/jonschlinkert/replace-case/test.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:31","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"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":"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":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":"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":"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"}}]},"last_synced_at":"2025-08-20T05:57:27.793Z","repository_id":57353686,"created_at":"2025-08-20T05:57:27.793Z","updated_at":"2025-08-20T05:57:27.793Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280834485,"owners_count":26399287,"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-24T02:00:06.418Z","response_time":73,"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":"jonschlinkert","name":"Jon Schlinkert","uuid":"383994","kind":"user","description":"Son of GitHub. Humble student of @doowb. Creator of @assemble @generate @enquirer @breakdance @update @micromatch","email":"","website":"https://www.linkedin.com/in/jonschlinkert/","location":"Cincinnati, OH","twitter":"jonschlinkert","company":"@brandscale ","icon_url":"https://avatars.githubusercontent.com/u/383994?u=335f06277f72722162e89bd5516849f2e82f37cf\u0026v=4","repositories_count":860,"last_synced_at":"2025-10-06T18:49:36.750Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"jonschlinkert"}},"html_url":"https://github.com/jonschlinkert","funding_links":["https://github.com/sponsors/jonschlinkert"],"total_stars":26715,"followers":4774,"following":75,"created_at":"2022-11-02T16:18:54.193Z","updated_at":"2025-10-06T18:49:36.751Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert/repositories"},"tags":[{"name":"1.0.1","sha":"4e2ce1bc16d3dcf1061483ff91e0691cddfbd3fe","kind":"commit","published_at":"2023-11-04T02:19:08.000Z","download_url":"https://codeload.github.com/jonschlinkert/replace-case/tar.gz/1.0.1","html_url":"https://github.com/jonschlinkert/replace-case/releases/tag/1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jonschlinkert/replace-case@1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case/tags/1.0.1/manifests"},{"name":"v1.0.0","sha":"93fe11a05a49b1d3631756158df6bde95d7be436","kind":"commit","published_at":"2021-02-19T09:54:35.000Z","download_url":"https://codeload.github.com/jonschlinkert/replace-case/tar.gz/v1.0.0","html_url":"https://github.com/jonschlinkert/replace-case/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/jonschlinkert/replace-case@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Freplace-case/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-05-10T17:34:58.427Z","dependent_packages_count":0,"downloads":11,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":51.222151958299555,"dependent_repos_count":25.32799796580169,"dependent_packages_count":32.89382871786066,"stargazers_count":11.926967138514371,"forks_count":17.419597981652586,"average":27.758108752425773},"purl":"pkg:npm/replace-case","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/replace-case","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/replace-case","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/replace-case/dependencies","status":null,"funding_links":["https://github.com/sponsors/jonschlinkert"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-15T02:24:49.542Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"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/jonschlinkert%2Freplace-case/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-case/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-case/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-case/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-case/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-case/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-case/codemeta","maintainers":[{"uuid":"jonschlinkert","login":"jonschlinkert","name":null,"email":"github@sellside.com","url":null,"packages_count":1548,"html_url":"https://www.npmjs.com/~jonschlinkert","role":null,"created_at":"2022-11-14T06:18:51.833Z","updated_at":"2022-11-14T06:18:51.833Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jonschlinkert/packages"}]}