# file-copy-plugin

> Copies files directly to the output path

Latest version **1.2.1** (published 2017-07-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install file-copy-plugin
pnpm add file-copy-plugin
yarn add file-copy-plugin
bun add file-copy-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2017-07-02 |
| First published | 2017-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | configurator |

## Links

- npm: https://www.npmjs.com/package/file-copy-plugin
- Repository: https://github.com/configurator/file-copy-plugin
- Homepage: https://github.com/configurator/file-copy-plugin#readme
- Issues: https://github.com/configurator/file-copy-plugin/issues
- npm.io page: https://npm.io/package/file-copy-plugin

## Dependencies (1)

- [glob](https://npm.io/package/glob.md) ^7.1.1

## Recent versions

- 1.2.1 (latest) — 2017-07-02
- 1.2.0 — 2017-05-18
- 1.1.0 — 2017-04-24
- 1.0.0 — 2017-04-06

## README

# file-copy-plugin
Copies files directly to the output path

## Installation

	npm install --save-dev file-copy-plugin

## Usage

	const path = require('path');
	const FileCopyPlugin = require('ngtemplates-autoloader-plugin');

	// ...

	plugins: [
		// This example will copy all files ending in .ext in the assets folder, if their pathnames include the string 'copy'.
		new FileCopyPlugin({
			// Path to look for files to copy in
			path: path.join(__dirname, 'assets'),

			// File glob
			glob: '**/*.ext',

			// A function or regex to filter which files to include.
			// Can also be a boolean; true will include all files that match
			// the glob, and false will completely disable the plugin.
			test: file => file.include('copy')
		})
	]

---
_Source: https://npm.io/package/file-copy-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
