Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including copy-file-destiny with all npm packages installed. Try it out:

var copyFileDestiny = require("copy-file-destiny")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

copy-file-destiny v0.0.1

Copying file to a new destiny with new names of the variables.

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

$ npm i -S https://github.com/renanbastos93/copy-file-destiny.git

Getting Start

const copy = require('copy-file-destiny');
copy(
        {
            "oldVar": "replaceVar",
            "oldVar2": "replaceOtherVar"
        }
        , "oldFile.js", "newFile.js"
    );

API

Param nameTypevalue
varsObject{"KEY": "value"}
old fileString*.js
new fileString*.js
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free