When code dies, it deserves a proper autopsy.
Stacktrace library with support for CoffeeScript and source maps. Ensures stacktrace output is useful when code is bundled or transpiled.
$ npm install postmortem
require('postmortem').install() // or require('postmortem/register')
If you use mocha:
$ mocha --require postmortem/register
Large amounts of code was lifted from source-map-support, without which this project would not exist.