Gathering detailed insights and metrics for fs-extra-plus
Gathering detailed insights and metrics for fs-extra-plus
npm install fs-extra-plus
Typescript
Module System
Min. Node Version
Node Version
NPM Version
68.9
Supply Chain
76.5
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (100%)
Total Downloads
77,186
Last Day
18
Last Week
127
Last Month
489
Last Year
13,377
5 Stars
76 Commits
2 Watching
3 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.6.0
Package Id
fs-extra-plus@0.6.0
Unpacked Size
9.18 kB
Size
2.69 kB
File Count
10
NPM Version
8.1.4
Node Version
16.13.0
Cumulative downloads
Total Downloads
Last day
63.6%
18
Compared to previous day
Last week
36.6%
127
Compared to previous week
Last month
-33.6%
489
Compared to previous month
Last year
16.3%
13,377
Compared to previous year
3
4
fs-extra
+ .glob()
(fast-glob) + .saferRemove()
(from basedir by default)
.glob()
(fast-glob) and .saferRemove()
1import * as fs from 'fs-extra-plus'; 2 3 4async function example(){ 5 6 // can use the normal fs-extra function 7 await fs.ensureDir('/tmp/my-temp/'); 8 await fs.copy('/tmp/myfile', '/tmp/my-temp/mynewfile') 9 10 // fs-extra-plus glob (using fast-glob) 11 const files = await fs.glob('**/*.js'); 12 13 const files = await fs.glob(['**/*.js', '**/*.css'], 'src/'); 14 // Note that when cwd, the return files will have the cwd in the path 15 // e.g., files[0] === 'src/some.ts' (and not as 'some.ts' as in raw fast-glob) 16 17 // or full fast-glob options 18 const files = await fs.glob(['**/*.js', '**/*.css'], {cwd: 'src/', deep: 3}); 19 20 // fs-extra-plus saferRemove 21 fs.saferRemove('../somedir'); // >> Throw error, seems not safe, does not belong to current dir 22 fs.saferRemove('/etc/'); // >> Throw error, seems not safe, does not belong to current dir 23 fs.saferRemove('some-file-in-basedir'); // >> will delete 24 fs.saferRemove(['some-dir/some-file'],'/tmp/'); // >> will delete `some-dir/some-file` from the `/tmp/` dir. 25} 26
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
5 existing vulnerabilities detected
Details
Reason
Found 0/30 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 SAST tool detected
Details
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
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-27
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