{"id":2298784,"name":"replace-in-files-cli","ecosystem":"npm","description":"Replace matching strings and regexes in files","homepage":"https://github.com/sindresorhus/replace-in-files-cli#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sindresorhus/replace-in-files-cli","keywords_array":["cli-app","cli","replace","matching","match","matches","find","search","string","regex","regexp","pattern","files","file","text","contents"],"namespace":null,"versions_count":10,"first_release_published_at":"2019-06-12T10:51:01.844Z","latest_release_published_at":"2025-09-11T12:26:33.780Z","latest_release_number":"4.0.0","last_synced_at":"2026-09-26T18:22:37.853Z","created_at":"2022-04-09T23:50:08.891Z","updated_at":"2026-09-26T18:22:37.853Z","registry_url":"https://www.npmjs.com/package/replace-in-files-cli","install_command":"npm install replace-in-files-cli","documentation_url":null,"metadata":{"funding":"https://github.com/sponsors/sindresorhus","dist-tags":{"latest":"4.0.0"},"contentPolicy":null},"repo_metadata":{"id":45072195,"uuid":"191551522","full_name":"sindresorhus/replace-in-files-cli","owner":"sindresorhus","description":"Replace matching strings and regexes in files","archived":false,"fork":false,"pushed_at":"2026-09-18T19:14:34.000Z","size":37,"stargazers_count":179,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-09-19T20:35:49.150Z","etag":null,"topics":["cli-app","command-line-tool","nodejs","npm-package","replace","replace-in-files","replace-text","search-and-replace"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"},"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":".github/security.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-12T10:42:59.000Z","updated_at":"2026-09-18T19:14:38.000Z","dependencies_parsed_at":"2024-11-06T00:33:06.509Z","dependency_job_id":"f72ee50b-8e53-4cf7-81f8-86c91f9eb274","html_url":"https://github.com/sindresorhus/replace-in-files-cli","commit_stats":{"total_commits":21,"total_committers":6,"mean_commits":3.5,"dds":"0.23809523809523814","last_synced_commit":"b6e9b0d4d10ae50a4894ae3bfe0af6c30acf8000"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/sbom","scorecard":{"id":826774,"data":{"date":"2025-08-11","repo":{"name":"github.com/sindresorhus/replace-in-files-cli","commit":"b6e9b0d4d10ae50a4894ae3bfe0af6c30acf8000"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"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":"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/main.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/replace-in-files-cli/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/replace-in-files-cli/main.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/main.yml:25","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":"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":"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":2,"reason":"Found 5/21 approved changesets -- score normalized to 2","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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.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":"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":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 'main'"],"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 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-23T16:46:35.942Z","repository_id":45072195,"created_at":"2025-08-23T16:46:35.960Z","updated_at":"2025-08-23T16:46:35.960Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37546036,"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-09-20T02:00:06.856Z","response_time":61,"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":"sindresorhus","name":"Sindre Sorhus","uuid":"170270","kind":"user","description":"Full-Time Open-Sourcerer. Focused on Swift \u0026 JavaScript. Makes macOS apps, CLI tools, npm packages.","email":"","website":"https://sindresorhus.com/apps","location":null,"twitter":"sindresorhus","company":null,"icon_url":"https://avatars.githubusercontent.com/u/170270?u=34acd557a042ac478d273a4621570cadb6b0bd89\u0026v=4","repositories_count":1111,"last_synced_at":"2024-10-29T21:14:09.635Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/sindresorhus","funding_links":["https://github.com/sponsors/sindresorhus"],"total_stars":852379,"followers":69513,"following":31,"created_at":"2022-11-02T16:18:52.881Z","updated_at":"2024-10-29T21:14:09.636Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus/repositories"},"tags":[{"name":"v3.0.0","sha":"b6e9b0d4d10ae50a4894ae3bfe0af6c30acf8000","kind":"tag","published_at":"2024-06-26T12:00:30.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v3.0.0","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v3.0.0/manifests"},{"name":"v2.2.0","sha":"f74c53fb23ecbc7b00a1443a4243d8ab0eccb060","kind":"tag","published_at":"2023-05-14T08:12:12.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v2.2.0","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v2.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v2.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v2.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v2.2.0/manifests"},{"name":"v2.1.0","sha":"0f246cbcade2ea3e16b3ca0be23f534ac3ce2677","kind":"tag","published_at":"2023-05-08T18:54:46.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v2.1.0","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v2.1.0/manifests"},{"name":"v2.0.0","sha":"e9a362a484833c2c89e701d703d35a97c6aaeabc","kind":"tag","published_at":"2021-11-09T19:44:52.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v2.0.0","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v2.0.0/manifests"},{"name":"v1.0.0","sha":"01c23a6dc89f282040b88021e6712b5e406ecd63","kind":"tag","published_at":"2020-09-29T23:29:46.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v1.0.0","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v1.0.0/manifests"},{"name":"v0.3.1","sha":"9deec61e7e5636cc9c106657ddf82afa11c322b9","kind":"tag","published_at":"2020-01-19T09:16:28.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v0.3.1","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"fffe855586782bc1c8530882d9e998e1e9e648e7","kind":"tag","published_at":"2019-09-05T16:49:29.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v0.3.0","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"89a7fb106dad2e885d74a807bf665a043c14a12d","kind":"tag","published_at":"2019-07-29T20:03:15.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v0.2.0","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"00ddb3c3b18009e7e71bfa5d8e074ad6749c46c1","kind":"tag","published_at":"2019-06-12T10:50:18.000Z","download_url":"https://codeload.github.com/sindresorhus/replace-in-files-cli/tar.gz/v0.1.0","html_url":"https://github.com/sindresorhus/replace-in-files-cli/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/replace-in-files-cli@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Freplace-in-files-cli/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-09-21T16:20:14.756Z","dependent_packages_count":119,"downloads":42978,"downloads_period":"last-month","dependent_repos_count":2577,"rankings":{"downloads":1.1341172531876285,"dependent_repos_count":0.44680469776321513,"dependent_packages_count":0.3469364447529602,"stargazers_count":4.310275878140635,"forks_count":6.144911695334522,"docker_downloads_count":null,"average":2.476609193835792},"purl":"pkg:npm/replace-in-files-cli","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/replace-in-files-cli","docker_dependents_count":1,"docker_downloads_count":12,"usage_url":"https://repos.ecosyste.ms/usage/npm/replace-in-files-cli","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/replace-in-files-cli/dependencies","status":null,"funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-20T21:56:47.568Z","issues_count":15,"pull_requests_count":7,"avg_time_to_close_issue":12578029.545454545,"avg_time_to_close_pull_request":2212368.4285714286,"issues_closed_count":11,"pull_requests_closed_count":7,"pull_request_authors_count":6,"issue_authors_count":10,"avg_comments_per_issue":1.3333333333333333,"avg_comments_per_pull_request":3.4285714285714284,"merged_pull_requests_count":5,"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/sindresorhus%2Freplace-in-files-cli/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-in-files-cli/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-in-files-cli/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-in-files-cli/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-in-files-cli/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-in-files-cli/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/replace-in-files-cli/codemeta","maintainers":[{"uuid":"sindresorhus","login":"sindresorhus","name":null,"email":"sindresorhus@gmail.com","url":null,"packages_count":1296,"html_url":"https://www.npmjs.com/~sindresorhus","role":null,"created_at":"2022-11-14T06:18:51.522Z","updated_at":"2022-11-14T06:18:51.522Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sindresorhus/packages"}]}