Copy file to destiny with new names to variables
MIT License
Copying file to a new destiny with new names of the variables.
The objective this module is for auxiliar the development of the developer's. How to example, he want create a new file that's go to enjoy some features. Let's suppose that you wish ...
$ npm i -S https://github.com/renanbastos93/copy-file-destiny.git
const copy = require('copy-file-destiny');
copy(
{
"oldVar": "replaceVar",
"oldVar2": "replaceOtherVar"
}
, "oldFile.js", "newFile.js"
);
Param name | Type | value |
---|---|---|
vars | Object | {"KEY": "value"} |
old file | String | *.js |
new file | String | *.js |