flcdrg/Replace multiple strings in files
Find and replace multiple strings over matching files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Globbing pattern to match files to search | yes | **/*.md |
| find | JSON array of strings to find and replacements | no | — |
| findJsonFile | Path to a JSON file containing the array of find and replace objects. Use when the JSON is too large for the find input | no | — |
| encoding | Encoding of files to search. Should be one of ascii, utf8, utf-8, utf16le, ucs2, ucs-2 | no | utf-8 |
| prefix | Part of a regular expression that is prepended to each 'find' string when searching for text to replace | no | — |
| suffix | Part of a regular expression that is appended to each 'find' string when searcing for text to replace | no | — |
Outputs
no outputs