Installations
npm install @appgeist/ensure-dir
Developer Guide
Typescript
No
Module System
CommonJS
Score
64.1
Supply Chain
65.3
Quality
75.9
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
appgeist
Download Statistics
Total Downloads
6,018
Last Day
2
Last Week
33
Last Month
88
Last Year
951
GitHub Statistics
3 Stars
26 Commits
1 Watching
6 Branches
1 Contributors
Bundle Size
1.13 kB
Minified
602.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.1.4
Package Id
@appgeist/ensure-dir@1.1.4
Unpacked Size
2.99 kB
Size
1.65 kB
File Count
6
Total Downloads
Cumulative downloads
Total Downloads
6,018
Last day
-50%
2
Compared to previous day
Last week
65%
33
Compared to previous week
Last month
-1.1%
88
Compared to previous month
Last year
-33.4%
951
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Dev Dependencies
1
@appgeist/ensure-dir
Utility function to ensure a directory path exists and return a Promise. Uses mkdirp under the hood.
Usage
1const ensureDir = require("@appgeist/ensure-dir"); 2 3await ensureDir("/folder/to/store/lotsa/files");
Why not mkdirp-promise?
@appgeist/ensure-dir should be slightly more efficient than mkdirp-promise because it checks whether the specified path exists before trying to create it.
License
The ISC License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: ISC License: LICENSE:0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/24 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 2 are checked with a SAST tool
Reason
15 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Score
1.7
/10
Last Scanned on 2025-01-20
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