Installations
npm install youch-terminal
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
20.7.0
NPM Version
9.8.1
Score
98.3
Supply Chain
79.8
Quality
78.1
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
poppinss
Download Statistics
Total Downloads
5,868,259
Last Day
5,858
Last Week
40,066
Last Month
159,176
Last Year
1,532,604
GitHub Statistics
89 Stars
44 Commits
1 Forks
7 Watchers
6 Branches
4 Contributors
Updated on Jan 02, 2025
Bundle Size
16.33 kB
Minified
4.75 kB
Minified + Gzipped
Package Meta Information
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
Total Downloads
Cumulative downloads
Total Downloads
5,868,259
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
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
3
Dev Dependencies
1
Youch terminal
This package converts the youch error message to a string to be displayed on terminal. The output of the function is colorized using chalk.
Install
npm i youch-terminal
Usage
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
- Info: security policy file detected: github.com/poppinss/.github/docs/SECURITY.md:1
- Info: Found linked content: github.com/poppinss/.github/docs/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/poppinss/.github/docs/SECURITY.md:1
- Info: Found text in security policy: github.com/poppinss/.github/docs/SECURITY.md:1
Reason
1 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
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
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'develop'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 1 are checked with a SAST tool
Score
3.3
/10
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