Please
reach out
if you're looking for a Node.js API or CLI engineer (11 years of experience).
Most recently I have been Netlify Build's
and Netlify Plugins'
technical lead for 2.5 years. I am available for full-time remote positions.
Note: when passing invalid options, the exit code is always 125.
π stack
Type: boolean Default: true
Whether to log the error's stack trace.
π’ props
Type: boolean Default: true
Whether to log the error's additional properties.
π silent
Type: boolean Default: false
Exits the process without logging anything on the console.
ποΈ colors
Type: boolean Default: true in terminals, false otherwise
Whether to colorize the error's message, stack trace and additional properties.
Quoted strings in the error's message are printed in bold (for "..." and
'...') and in italic (for `...`).
β icon
Type: string Default: 'cross'
Icon prepended to the error's name. The available values are listed
here.
Can be disabled by passing an empty string.
π header
Type: string Default: 'red bold'
Color/style of the error's icon and name. The available values are
listed here. Several
styles can be specified by using spaces. Can be disabled by passing an empty
string.
π timeout
Type: integer (in milliseconds) Default: 5000 (5 seconds)
The process exits gracefully: it waits for any ongoing tasks (callbacks,
promises, etc.) to complete, up to a specific timeout.
Special values:
0: Exits right away, without waiting for ongoing tasks
Number.POSITIVE_INFINITY: Waits for ongoing tasks forever, without timing
out
The npm package handle-cli-error receives a total of 7,496 weekly downloads. As such, handle-cli-error popularity was classified as popular.
We found that handle-cli-error demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Package last updated on 28 Oct 2023
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
By Kush Pandya, Philipp Burckhardt, Kirill Boychenko, Orlando BarreraΒ - Β Oct 31, 2024
The npm package for the LottieFiles Player web component was hit with a supply chain attack after a software engineer's npmjs credentials were compromised.