Package Exports
- @slimio/pretty-stack
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@slimio/pretty-stack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pretty-stack
Pretty Stack Trace to stdout in TTY
Requirements
- Node.js v10 or higher
Getting Started
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i @slimio/pretty-stack
# or
$ yarn add @slimio/pretty-stackUsage example
const prettyStack = require("@slimio/pretty-stack");
const err = new Error("hello world!");
prettyStack(err);API
TBC
Dependencies
| Name | Refactoring | Security Risk | Usage |
|---|---|---|---|
| clean-stack | ⚠️Major | Low | Clean stack trace |
| kleur | Minor | Low | TTY color |
License
MIT