{"repo":"sindresorhus/replace-in-files-cli","free":true,"listed":false,"github":"https://github.com/sindresorhus/replace-in-files-cli","clone":"git clone https://github.com/sindresorhus/replace-in-files-cli.git","description":"Replace matching strings and regexes in files","language":"JavaScript","stars":179,"topics":["replace-in-files","replace-text","replace","command-line-tool","cli-app","nodejs","npm-package","search-and-replace"],"license":"MIT","category":"cli-tools","readme_excerpt":"replace-in-files-cli Replace matching strings and regexes in files Install Usage Real-world use-case: Bumping version number in a file when publishing to npm The regex should be JavaScript flavor. API You can also use this package programmatically: The transform option provides full control over file content: - Standalone : Use alone for prepend, append, or complex transformations - Combined : Use with find / replacement - transform runs after find/replace operations - Parameters : Receives (content, filePath) for context-aware transformations","default_branch":null,"files":null,"tree":[],"storefront":"/r/sindresorhus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sindresorhus/replace-in-files-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}