0.1.10 • Published 4 years ago

@vimlet/commons-copy v0.1.10

Weekly downloads
38
License
MIT
Repository
-
Last release
4 years ago

This is a tool that copy files.

Features

  • Copy files.
  • Watcher to look for changes and update files on the fly.

Installation

npm install @vimlet/commons-copy

It will be also installed as a module within @vimlet/commons

Usage

copy.copy(include, output, options, callback);

Copy files in given pattern.

  • include: Directory to look for files.
  • output: Directory where files will be written.
  • options:
  1. exclude: Used to skip files that you don't want to copy.
  2. clean: Empty output directory before copy.
  • callback.

copy.watch(include, output, options);

Watch for file changes in given pattern.

  • include: Directory to look for files.
  • output: Directory where files will be written.
  • options:
  1. exclude: Used to skip files that you don't want to copy.
  2. clean: Empty output directory before copy.

Command mode:

  • vimlet-copy -i include -o output -e exclude -c

    Calls copy.copy

  • vimlet-copy -i include -o output -e exclude -c -w

    Calls copy.watch

License

This project is under MIT License. See LICENSE for details.

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago