🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

cooler

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cooler

prints error stack traces with green for your code, red for the error message, grey for node core, and normal color for everything else

latest
npmnpm
Version
0.1.0
Version published
Maintainers
2
Created
Source

npm -g install cooler errors!

Why use this?

  • print the first line of the error in red
  • print the lines you wrote in green
  • print the lines in node core in grey

e.g.

Usage

require('cooler')
console.cool(new Error('hi'))

Keywords

error

FAQs

Package last updated on 04 Jul 2014

Did you know?

Socket

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.

Install

Related posts