@packmule/copy-pack
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Copy Pack npm-latest

Simply copy files.

Overview

Setup

Copy Pack is included in the complete and default editions.

Current Release

npm install --save-dev @packmule/copy-pack

Nightly Build

npm install --save-dev @packmule/copy-pack@nightly

API

CopyPack()
    .include(glob: string)
    .to(path: string)

Hints

  • hash - Configures whether file name hashing is enabled or not.

Usage

Example

Copy JSON files.

import Packmule from '@packmule/core';
import CopyPack from '@packmule/copy-pack';

const packmule = new Packmule();
packmule.add(new CopyPack().include('**/data/*.json').to('data/'));
return packmule.generate();

License

MIT


Package Sidebar

Install

npm i @packmule/copy-pack

Weekly Downloads

137

Version

2.1.0

License

MIT

Unpacked Size

6.95 kB

Total Files

11

Last publish

Collaborators

  • t.esterer
  • thasmo