postmortem

When code dies, it deserves a proper autopsy. Stacktrace library with sourcemap support.

Usage no npm install needed!

<script type="module">
  import postmortem from 'https://cdn.skypack.dev/postmortem';
</script>

README

postmortem Build Status npm version

When code dies, it deserves a proper autopsy.

Stacktrace library with support for CoffeeScript and source maps.

Install

$ npm install postmortem

Usage

require('postmortem').install()

// or

require('postmortem/register')

If you use mocha:

$ mocha --require postmortem/register

Credit

Large amounts of code was lifted from source-map-support, without which this project would not exist.