4.1.1 • Published 9 years ago

format-stack v4.1.1

Weekly downloads
2
License
-
Repository
github
Last release
9 years ago

format-stack

Formats a stack with colors

This module must be required as the first thing before everything else. It will format your stack trace with colors and will also print the previous stack.

Be warned this uses trycatch so it will enable domains and monkey patch everything to implement long stack traces.

format-stack-example

Example

require("format-stack").set({
  traces: 'short' // 'long' works too, maybe.. ;)
});

// Any thrown error will now have a pretty printed stack
// trace.

Installation

npm install format-stack

Tests

npm test

Contributors

  • Raynos

MIT Licenced

4.1.1

9 years ago

4.1.0

9 years ago

4.0.0

9 years ago

1.2.0

9 years ago

3.0.0

9 years ago

2.0.0

10 years ago

1.1.0

10 years ago