coreutils-cp

0.0.0 • Public • Published

cp

copies a file or directory

Requirements

  • node >=0.11.12 with --harmony flag
  • create nodeh as an alias to node --harmony
$ cat ~/bin/nodeh
#!/bin/bash 
node --harmony "$@"

Installation

$ npm install coreutils-cp

Usage

var cp = require('coreutils-cp');
cp('./src/file1.txt', './dst/file2.txt');
cp('./src/file1.txt', './dst/');

License

MIT

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i coreutils-cp

    Weekly Downloads

    1

    Version

    0.0.0

    License

    MIT

    Last publish

    Collaborators

    • madhums