Gathering detailed insights and metrics for stephenwf-fork-copy-template-dir
Gathering detailed insights and metrics for stephenwf-fork-copy-template-dir
Gathering detailed insights and metrics for stephenwf-fork-copy-template-dir
Gathering detailed insights and metrics for stephenwf-fork-copy-template-dir
npm install stephenwf-fork-copy-template-dir
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
54 Stars
24 Commits
15 Forks
2 Watchers
1 Branches
6 Contributors
Updated on Jan 12, 2025
Latest Version
1.3.0
Package Id
stephenwf-fork-copy-template-dir@1.3.0
Size
2.91 kB
NPM Version
5.5.1
Node Version
8.6.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
High throughput template dir writes. Supports variable injection using the
mustache {{ }}
syntax.
1$ npm install copy-template-dir
1const copy = require('copy-template-dir') 2const path = require('path.join') 3 4const vars = { foo: 'bar' } 5const inDir = path.join(process.cwd(), 'templates') 6const outDir = path.join(process.cwd(), 'dist') 7 8copy(inDir, outDir, vars, (err, createdFiles) => { 9 if (err) throw err 10 createdFiles.forEach(filePath => console.log(`Created ${filePath}`)) 11 console.log('done!') 12})
Copy a directory of files over to the target directory, and inject the files with variables. Takes the following arguments:
_
will have it removed when copying. Dotfiles need to be prepended
with a _
. Files and filenames are populated with variables using the
{{varName}}
syntax.No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 2/23 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
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
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