Gathering detailed insights and metrics for youch-terminal
Gathering detailed insights and metrics for youch-terminal
npm install youch-terminal
Typescript
Module System
Node Version
NPM Version
98.3
Supply Chain
79.8
Quality
78.1
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
5,868,259
Last Day
5,858
Last Week
40,066
Last Month
159,176
Last Year
1,532,604
89 Stars
44 Commits
1 Forks
7 Watchers
6 Branches
4 Contributors
Updated on Jan 02, 2025
Minified
Minified + Gzipped
Latest Version
2.2.3
Package Id
youch-terminal@2.2.3
Unpacked Size
8.97 kB
Size
3.05 kB
File Count
3
NPM Version
9.8.1
Node Version
20.7.0
Published on
Sep 23, 2023
Cumulative downloads
Total Downloads
Last Day
-6.3%
5,858
Compared to previous day
Last Week
10.4%
40,066
Compared to previous week
Last Month
38.8%
159,176
Compared to previous month
Last Year
45.6%
1,532,604
Compared to previous year
3
1
This package converts the youch error message to a string to be displayed on terminal. The output of the function is colorized using chalk.
npm i youch-terminal
Make sure you pass the output toJSON
to the youch terminal function.
1const Youch = require('youch') 2const forTerminal = require('youch-terminal') 3 4const error = new Error('Some weird error') 5const jsonResponse = await new Youch(error, {}).toJSON() 6 7const options = { 8 // Defaults to false 9 displayShortPath: false, 10 11 // Defaults to single whitspace 12 prefix: ' ', 13 14 // Defaults to false 15 hideErrorTitle: false, 16 17 // Defaults to false 18 hideMessage: false, 19 20 // Defaults to false 21 displayMainFrameOnly: false, 22 23 // Defaults to 3 24 framesMaxLimit: 3, 25} 26 27console.log(forTerminal(output, options))
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
Found 1/30 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
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-02-10
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