Gathering detailed insights and metrics for rollup-plugin-cpy
Gathering detailed insights and metrics for rollup-plugin-cpy
Gathering detailed insights and metrics for rollup-plugin-cpy
Gathering detailed insights and metrics for rollup-plugin-cpy
npm install rollup-plugin-cpy
Typescript
Module System
Min. Node Version
Node Version
NPM Version
62.2
Supply Chain
81.7
Quality
70.4
Maintenance
50
Vulnerability
97.4
License
JavaScript (100%)
Total Downloads
595,604
Last Day
763
Last Week
1,890
Last Month
10,492
Last Year
97,111
MIT License
7 Stars
49 Commits
1 Forks
1 Watchers
17 Branches
4 Contributors
Updated on Jun 10, 2022
Minified
Minified + Gzipped
Latest Version
2.0.1
Package Id
rollup-plugin-cpy@2.0.1
Size
3.18 kB
NPM Version
6.9.2
Node Version
10.13.0
Published on
Jul 14, 2019
Cumulative downloads
Total Downloads
Last Day
35.3%
763
Compared to previous day
Last Week
-29.7%
1,890
Compared to previous week
Last Month
13.9%
10,492
Compared to previous month
Last Year
54.3%
97,111
Compared to previous year
4
1
20
Rollup plugin to easily copy files and folders.
1yarn add -D rollup-plugin-cpy
1npm i -D rollup-plugin-cpy
This plugin uses cpy by @sindresorhus.
All the options map to the cpy
package apart from verbose
.
It takes a config object
1{ 2 files: string | glob | Array<string & glob> 3 dest: string, 4 options: { 5 verbose: boolean, 6 ...restOptions 7 } 8}
The verbose option if set to true print out each file copying log on console.
restOptions
are same as options passed to cpy
1import copy from 'rollup-plugin-cpy' 2 3... 4 5plugins: [ 6 ... 7 copy({ 8 files: ['src/*.png', '!src/goat.png'], 9 dest: 'dist', 10 options: { 11 verbose: true, 12 ... 13 } 14 }) 15] 16 17...
It can also take an array of above mentioned config object
1import copy from 'rollup-plugin-cpy' 2 3... 4 5plugins: [ 6 ... 7 copy([ 8 { files: 'src/**/*.png', dest: './dist/images' }, 9 { files: 'src/**/*.mp3', dest: './dist/audio' }, 10 { files: 'src/**/*.webm', dest: './dist/video' }, 11 ]), 12] 13 14...
This project is licensed under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
30 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More