Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renanbastos93/copy-file-destiny
Copy file to destiny with new names to variables
https://github.com/renanbastos93/copy-file-destiny
Last synced: 18 days ago
JSON representation
Copy file to destiny with new names to variables
- Host: GitHub
- URL: https://github.com/renanbastos93/copy-file-destiny
- Owner: renanbastos93
- License: mit
- Created: 2017-05-17T21:22:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T19:18:33.000Z (about 7 years ago)
- Last Synced: 2024-10-05T16:41:17.355Z (about 1 month ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
Copying file to a new destiny with new names of the variables.### What is the purpose of this module?
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 ...### Docs
1. [English](#)
2. [Português](#)## Install
```bash
$ npm i -S https://github.com/renanbastos93/copy-file-destiny.git
```## Getting Start
```js
const copy = require('copy-file-destiny');
copy(
{
"oldVar": "replaceVar",
"oldVar2": "replaceOtherVar"
}
, "oldFile.js", "newFile.js"
);
```## API
Param name | Type | value
------------|---------|-------
vars | Object | {"KEY": "value"}
old file | String | *.js
new file | String | *.js