Gathering detailed insights and metrics for @rpai/wdio-logger
Gathering detailed insights and metrics for @rpai/wdio-logger
Gathering detailed insights and metrics for @rpai/wdio-logger
Gathering detailed insights and metrics for @rpai/wdio-logger
Next-gen browser and mobile automation test framework for Node.js
npm install @rpai/wdio-logger
Typescript
Module System
Node Version
NPM Version
70.3
Supply Chain
89.9
Quality
78.5
Maintenance
100
Vulnerability
100
License
TypeScript (94.25%)
JavaScript (3.6%)
EJS (1.37%)
CSS (0.67%)
Gherkin (0.07%)
Dockerfile (0.03%)
Vue (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
9,540 Stars
8,054 Commits
2,600 Forks
213 Watchers
32 Branches
652 Contributors
Updated on Jul 13, 2025
Latest Version
1.0.3
Package Id
@rpai/wdio-logger@1.0.3
Unpacked Size
32.15 kB
Size
8.89 kB
File Count
14
NPM Version
10.7.0
Node Version
20.15.0
Published on
Sep 27, 2024
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
4
A helper utility for logging of WebdriverIO packages
This package is used across all WebdriverIO packages to log information using the loglevel
package. It can also be used for any other arbitrary Node.js project.
To install the package just call
1npm install @wdio/logger
or when adding it to a WebdriverIO subpackage:
1lerna add @wdio/logger --scope <subpackage>
The package exposes a logger function that you can use to register an instance for your scoped package:
1import logger from '@wdio/logger' 2 3const log = logger('myPackage') 4log.info('some logs')
For more info see loglevel
package on NPM.
This package extends the log levels available in loglevel
by introducing a new level called progress
.
The progress
level is particularly useful when you need to dynamically update a specific line in the terminal. For example, it can be utilized to display the download progress of browsers or drivers.
Notably, the progress
level is equivalent to the info
level. Therefore, if you set the log level to error
or silent
, any progress
logs will be suppressed.
It's important to mention that progress
writes directly to process.stdout
, and these logs won't be captured in any log files.
To ensure consistent formatting with subsequent logs while using progress
, it's essential to clear it at the end. To do so, simply call progress
with an empty string, which will clear the last line:
log.progress('')
1import logger from '@wdio/logger'; 2 3const log = logger('internal'); 4 5const totalSize = 100; 6let uploadedSize = 0; 7 8const uploadInterval = setInterval(() => { 9 const chunkSize = 10; 10 uploadedSize += chunkSize; 11 const data = `Progress: ${(uploadedSize * 100) / totalSize}%`; 12 log.progress(data); 13 if (uploadedSize >= totalSize) { 14 clearInterval(uploadInterval); 15 log.progress(''); // Called at the end to maintain the alignment of subsequent logs. 16 console.log('Upload complete.'); 17 } 18}, 100);
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
dependency not pinned by hash detected -- score normalized to 6
Details
Reason
Found 14/27 approved changesets -- score normalized to 5
Reason
badge detected: Passing
Reason
SAST tool is not run on all commits -- score normalized to 2
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
25 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