replace-in-file
replace-in-file copied to clipboard
A simple utility to quickly replace contents in one or more files
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.10.1 to 7.23.6. Release notes Sourced from @babel/traverse's releases. v7.23.6 (2023-12-11) Thanks @martinez-hugo and @odinho for your first pull requests! :eyeglasses: Spec Compliance babel-generator, babel-parser, babel-types #16154...
Bumps [debug](https://github.com/debug-js/debug) from 4.1.1 to 4.3.4. Release notes Sourced from debug's releases. 4.3.4 What's Changed Add section about configuring JS console to show debug messages by @gitname in debug-js/debug#866 Replace...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
Hello! I have a text and need to make multiple replacements in it. Can I use this lib for that? I understand that I can put my text into some...
I want to know if this library has functionality with .doc and .docx files. I am trying to do a basic example with the options given in the README, but...
Support -h to show help info for CLI use, like other cli tools. ``` > replace-in-file -h ```
Can add a new feature where right now from can be regex and to is supposed to string. This is causing problems while using typescript but in normal node js....
It would be nice to be able to do this: ``` const options = [ { files: 'path/to/file', from: /foo/g, to: 'bar', }, { files: 'path/to/file2', from: 'baz', to: 'bax',...
Config options could either be an object as before or an array collection for multiple replacements. Updated 'README.md' file and 'index.d.ts' file for config type changes.
Inflight has a medium security vulnerability: 1. CWE-772 - https://cwe.mitre.org/data/definitions/772.html 2. https://security.snyk.io/package/npm/inflight/1.0.6 3. There is no fixed version for inflight 4. This library is not maintained, and currently, there is...