Gathering detailed insights and metrics for mocha-env-reporter
Gathering detailed insights and metrics for mocha-env-reporter
Gathering detailed insights and metrics for mocha-env-reporter
Gathering detailed insights and metrics for mocha-env-reporter
npm install mocha-env-reporter
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
10 Stars
41 Commits
1 Forks
307 Watchers
7 Branches
7 Contributors
Updated on Mar 13, 2023
Latest Version
4.0.0
Package Id
mocha-env-reporter@4.0.0
Unpacked Size
5.75 kB
Size
3.05 kB
File Count
11
NPM Version
6.7.0
Node Version
11.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
A mocha reporter that switches output format between built-in 'spec' and customised CI reporters base on where tests are being executed - locally or ci. Actual switch is implemented by detecting an environment variable unique to each CI environment. The default is 'spec' builtin mocha reporter.
The reporter also supports an environment variable mocha_reporter
in which you can set an arbitrary environment reporter. This is useful if you use an unidentified continous integration service.
Currently supported custom CI environments (see defaults.json
):
npm install --save-dev mocha-env-reporter
In you package.json append --reporter mocha-env-reporter
to your mocha test command, ex.
1... 2 "scripts": { 3 "test": "mocha --reporter mocha-env-reporter" 4 }, 5...
In order to override the choice of reporter simply set environment variable mocha_reporter
to the reporter name (example specs
).
The default reporters per environments are defined at defaults.json
Licensed under MIT License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 3/28 approved changesets -- score normalized to 1
Reason
project is archived
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
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
19 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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