{"id":15388502,"url":"https://github.com/deebloo/find-and-replace","last_synced_at":"2025-04-15T20:22:54.370Z","repository":{"id":20493375,"uuid":"23771659","full_name":"deebloo/find-and-replace","owner":"deebloo","description":"Find and replace node js module","archived":false,"fork":false,"pushed_at":"2023-12-15T05:19:43.000Z","size":15,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T09:43:15.009Z","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/deebloo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-09-07T21:36:09.000Z","updated_at":"2018-10-25T18:49:31.000Z","dependencies_parsed_at":"2024-06-21T02:28:13.135Z","dependency_job_id":null,"html_url":"https://github.com/deebloo/find-and-replace","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":0.3870967741935484,"last_synced_commit":"6b11df174ee49fbfe4a8a376b187f4442f1ebd41"},"previous_names":["dannybluedesign/find-and-replace"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Ffind-and-replace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Ffind-and-replace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Ffind-and-replace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deebloo%2Ffind-and-replace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deebloo","download_url":"https://codeload.github.com/deebloo/find-and-replace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249145967,"owners_count":21220066,"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-01T14:56:57.909Z","updated_at":"2025-04-15T20:22:54.349Z","avatar_url":"https://github.com/deebloo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM](https://nodei.co/npm/find-and-replace.png?compact=true)](https://nodei.co/npm/find-and-replace/)\n\nFind and Replace\n=========\n\nA simple api for finding and replacing values in a file.\n\n## Installation\n  ```\n  npm i find-and-replace --save\n  ```\n\n## API\n  ```JS\nvar find = require('find-and-replace');\n\nfind\n  .src('./test.txt')\n  // .text('if you want to just use text')\n  .dest('./test2.txt')\n  .replace({\n    '%Heading%': 'Good Morning San Diego!',\n    '%Footer%': 'Let\\'s all play Yaz Flute'\n  })\n  // fires when find and replace is finished and gives you the replaced text from either the file or the raw text\n  .complete(function (txt) {\n    console.log('Finished! Here is the completed text: ' + txt);\n  })\n  // add an error callback\n  .error(function (err) {\n    console.log(err);\n  });\n  ```\n\n* 1.0.2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeebloo%2Ffind-and-replace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeebloo%2Ffind-and-replace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeebloo%2Ffind-and-replace/lists"}