Gathering detailed insights and metrics for mz-modules
Gathering detailed insights and metrics for mz-modules
Gathering detailed insights and metrics for mz-modules
Gathering detailed insights and metrics for mz-modules
Same as `mz`, but wrap modules in the world rather than core API.
npm install mz-modules
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
56 Stars
11 Commits
3 Forks
14 Watching
3 Branches
12 Contributors
Updated on 14 Mar 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-21.8%
5,626
Compared to previous day
Last week
-4.2%
42,499
Compared to previous week
Last month
43.8%
202,095
Compared to previous month
Last year
-51.3%
1,894,563
Compared to previous year
Same as mz, but wrap many popular modules rather than core API.
Node require >= 4.0.0
Install it
1$ npm i mz-modules
Require it
1const mkdirp = require('mz-modules/mkdirp');
You can also require it from the main entry, but it will load other modules in mz-modules.
1const mkdirp = require('mz-modules').mkdirp;
Use it
1// Using promise 2mkdirp('/path/to/dir').then(() => console.log('done')); 3 4// Or if you are using async function 5async function doSomething() { 6 await mkdirp('/path/to/dir'); 7}
Warning: nextTick and setImmediate is little slower than callback, because promise queue is after nextTick.
mz-modules/mkdirp
wrapped mkdirpmz-modules/rimraf
wrapped rimrafmz-modules/glob
wrapped globmz-modules/sleep
wrapped ko-sleepmz-modules/nextTick
wrapped process.nextTickmz-modules/setImmediate
wrapped setImmediatemz-modules/pump
wrapped pumpYou can request adding module to mz-modules
xx
xx.js
that exports a function should return promise.xx.js
in index.js
test/xx.test.js
package.json
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 3/11 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2024-11-18
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