Gathering detailed insights and metrics for draftlog-session
Gathering detailed insights and metrics for draftlog-session
npm install draftlog-session
Typescript
Module System
Node Version
NPM Version
69.6
Supply Chain
78.3
Quality
74.9
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
1,289
Last Day
3
Last Week
5
Last Month
19
Last Year
153
1 Stars
4 Commits
2 Watching
1 Branches
3 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.1
Package Id
draftlog-session@1.0.1
Size
3.44 kB
NPM Version
5.4.2
Node Version
8.2.1
Cumulative downloads
Total Downloads
Last day
0%
3
Compared to previous day
Last week
25%
5
Compared to previous week
Last month
171.4%
19
Compared to previous month
Last year
75.9%
153
Compared to previous year
Log like a pro with Yarn-like statuses
This will generate clean session logs for your "steps" during execution of scripts in node.
Here is an example (using async/await):
1const Session = require('../') 2 3const sleep = ms => new Promise((res, rej) => setTimeout(res, ms)) 4 5;(async () => { 6 let session = new Session('Simple session') 7 8 session.step = 'Initializing' 9 await sleep(100) 10 11 session.step = 'Doing something' 12 session.status = 'One thing...' 13 await sleep(400) 14 session.status = 'One more thing...' 15 await sleep(400) 16 17 session.step = 'Finishing up' 18 session.skip() 19 20 session.step = 'Loading' 21 let steps = 10 22 session.startProgress(steps) 23 while (steps--) { 24 session.progress() 25 await sleep(200) 26 } 27 28 session.step = 'Completed. Cleaning up' 29 30 session.step = 'One more extra step...' 31 32 session.finish() 33})()
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no SAST tool detected
Details
Reason
Found 0/4 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 effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
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