Nanobots Producing Megastructures

    ah-duplicate-folder

    0.0.4 • Public • Published

    Anthill Duplicate Folder

    build status coverage report

    Duplicate a folder while renaming files and replacing id strings.

    Install

    npm install ah-duplicate-folder --save
    

    Usage

    var duplicator = require('ah-duplicate-folder');
    
    duplicator('content/faq-module', 'content/menu-module', function(err, dest) {
        if (!err) {
            console.log('Content was successfully duplicated to ' + dest);
        }
        else {
            console.log('Not able to duplicate folder', err);
        }
    });
    

    Install

    npm i ah-duplicate-folder

    DownloadsWeekly Downloads

    12

    Version

    0.0.4

    License

    ISC

    Last publish

    Collaborators

    • jofan