1.0.9 • Published 4 years ago

@nexssp/stack v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@nexssp/stack

Display stack in nice way with colors and removes the very first line from stack.

Installation

npm i @nexssp/stack

image

Usage

const { stack } = require("stack");

// OR

const mystack = require("@nexssp/stack").stack;

require("module-alias/register");
const { stack } = require("@nexssp/stack");

stack("My Error test with nice stack");

stack("Display of the stack can be adjusted ('message',1,4)", 1, 3);
//Where 2 is which one number to colorize. Default is 1. 3 is cut line from the top, so it will cut 3 lines.
1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago