Replace words with dictionary.
npm install replace-with-dictionaryReplace text in a file using a dictionary. You can replace in not only a single file but also multiple files at once using a list of file paths.
```
$ npm install replace-with-dictionary
``
$ replace-with-dictionary -d
``
$ replace-with-dictionary -d
``
-d, --dict Defines a dictionary file
-f, --file Defines a target file for replacement
-l, --list Defines a list of target files for replacement
JavaScript file. You write a pair of words with array for replacement. You can use a regular expression.
`js`
module.exports = [
['foo', 'bar'],
['
['(
];
Text file. You write a file path each lines.
```
/Users/foo/1.html
/Users/foo/2.html
/Users/foo/3.html