An open API service indexing awesome lists of open source software.

https://github.com/zeekay/postmortem

💀 When code dies, it deserves a proper autopsy. Stacktrace library with source maps support.
https://github.com/zeekay/postmortem

coffeescript error-handling javascript nodejs postmortem stacktrace stacktrace-library

Last synced: 4 months ago
JSON representation

💀 When code dies, it deserves a proper autopsy. Stacktrace library with source maps support.

Awesome Lists containing this project

README

        

# postmortem

[![npm][npm-img]][npm-url]
[![build][build-img]][build-url]
[![dependencies][dependencies-img]][dependencies-url]
[![license][license-img]][license-url]
[![chat][chat-img]][chat-url]

### 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.

## Install
```bash
$ npm install postmortem
```

## Usage
```javascript
require('postmortem').install()

// or

require('postmortem/register')
```

If you use mocha:
```bash
$ mocha --require postmortem/register
```

## Credit
Large amounts of code was lifted from
[source-map-support](https://github.com/evanw/node-source-map-support), without
which this project would not exist.

## License
[MIT][license-url]

[build-img]: https://img.shields.io/travis/zeekay/postmortem.svg
[build-url]: https://travis-ci.org/zeekay/postmortem
[chat-img]: https://badges.gitter.im/join-chat.svg
[chat-url]: https://gitter.im/zeekay/hi
[coverage-img]: https://coveralls.io/repos/zeekay/postmortem/badge.svg?branch=master&service=github
[coverage-url]: https://coveralls.io/github/zeekay/postmortem?branch=master
[dependencies-img]: https://david-dm.org/zeekay/postmortem.svg
[dependencies-url]: https://david-dm.org/zeekay/postmortem
[downloads-img]: https://img.shields.io/npm/dm/postmortem.svg
[downloads-url]: http://badge.fury.io/js/postmortem
[license-img]: https://img.shields.io/npm/l/postmortem.svg
[license-url]: https://github.com/zeekay/postmortem/blob/master/LICENSE
[npm-img]: https://img.shields.io/npm/v/postmortem.svg
[npm-url]: https://www.npmjs.com/package/postmortem