
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@types/copyfiles
Advanced tools
TypeScript definitions for copyfiles
npm install --save @types/copyfiles
This package contains type definitions for copyfiles (https://github.com/calvinmetcalf/copyfiles#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/copyfiles.
declare namespace copyfiles {
interface Options {
/** include files & directories beginning with a dot (.) */
all?: boolean | undefined;
/** throw error if nothing is copied */
error?: boolean | undefined;
/** pattern or glob to exclude */
exclude?: string | readonly string[] | undefined;
/** flatten the output */
flat?: boolean | undefined;
/**
* follow symbolink links
* @default false
*/
follow?: boolean | undefined;
/** do not overwrite destination files if they exist */
soft?: boolean | undefined;
/**
* slice a path off the bottom of the paths
* @default 0
*/
up?: number | true | undefined;
/** print more information to console */
verbose?: boolean | undefined;
}
type Callback = (error?: Error) => void;
}
declare function copyfiles(paths: string[], options: copyfiles.Options | number, callback: copyfiles.Callback): void;
declare function copyfiles(paths: string[], callback: copyfiles.Callback): void;
export = copyfiles;
These definitions were written by Florian Keller, and Piotr Błażejewicz.
FAQs
TypeScript definitions for copyfiles
The npm package @types/copyfiles receives a total of 49,949 weekly downloads. As such, @types/copyfiles popularity was classified as popular.
We found that @types/copyfiles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.