{"id":16189787,"url":"https://github.com/stuk/require-and-replace","last_synced_at":"2025-10-25T01:20:29.012Z","repository":{"id":15461599,"uuid":"18194729","full_name":"Stuk/require-and-replace","owner":"Stuk","description":"Intelligent find and replace for require() calls","archived":false,"fork":false,"pushed_at":"2014-03-27T23:19:47.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T14:18:23.773Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Stuk.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":"2014-03-27T23:14:32.000Z","updated_at":"2014-03-27T23:19:46.000Z","dependencies_parsed_at":"2022-08-25T18:02:36.732Z","dependency_job_id":null,"html_url":"https://github.com/Stuk/require-and-replace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Stuk/require-and-replace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stuk%2Frequire-and-replace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stuk%2Frequire-and-replace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stuk%2Frequire-and-replace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stuk%2Frequire-and-replace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stuk","download_url":"https://codeload.github.com/Stuk/require-and-replace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stuk%2Frequire-and-replace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263145837,"owners_count":23420678,"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","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":[],"created_at":"2024-10-10T07:36:53.837Z","updated_at":"2025-10-25T01:20:28.951Z","avatar_url":"https://github.com/Stuk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\"Intelligent\" find and replace for require() calls\n\n## Install\n\n```\nnpm install -g require-and-replace\n```\n\n## Usage\n\n```\nrequire-and-replce \u003cfind\u003e \u003creplace\u003e\n```\n\nFinds all `require()` calls for the given `\u003cfind\u003e` module and\nreplaces them will require() calls for given `\u003creplace\u003e` module.\n\nRelative module ids are resolved both when finding and\nreplacing. For example:\n\n```\nrequire-and-replace ./find ./dir/replace\n```\n\nwill replace `require('../find')` with `require('./replace')`\nin `./dir/example.js`.\n\n\n## License\n\nBSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuk%2Frequire-and-replace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuk%2Frequire-and-replace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuk%2Frequire-and-replace/lists"}