Installations
npm install draftlog-session
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
8.2.1
NPM Version
5.4.2
Score
69.6
Supply Chain
78.3
Quality
74.9
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
tendadigital
Download Statistics
Total Downloads
1,289
Last Day
3
Last Week
5
Last Month
19
Last Year
153
GitHub Statistics
1 Stars
4 Commits
2 Watching
1 Branches
3 Contributors
Bundle Size
24.46 kB
Minified
8.82 kB
Minified + Gzipped
Package Meta Information
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
Total Downloads
Cumulative downloads
Total Downloads
1,289
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
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Draftlog Session
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})()
![Empty State](/_next/static/media/empty.e5fae2e5.png)
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: MIT License: LICENSE:0
Reason
0 existing vulnerabilities detected
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
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
- 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'
Score
3
/10
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