Methods
(async) replaceInFile(file, search, replace, optionsopt)
- Source:
Replace searched content by replacement string.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
file |
string | File name or pattern. | |
search |
string | RegExp | The searched pattern. | |
replace |
string | The replacement value. | |
options |
object |
<optional> |
The replace-in-file module options. |
Returns:
The async process promise.
- Type
- Promise
getForward()
- Source:
Get @absolunet/fsp package for forward calls.
Returns:
The @absolunet/fsp package.
- Type
- *