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.
- Host: GitHub
- URL: https://github.com/zeekay/postmortem
- Owner: zeekay
- License: mit
- Created: 2013-06-07T09:16:34.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-04-03T18:24:56.000Z (about 8 years ago)
- Last Synced: 2025-02-01T04:23:42.298Z (4 months ago)
- Topics: coffeescript, error-handling, javascript, nodejs, postmortem, stacktrace, stacktrace-library
- Language: CoffeeScript
- Homepage:
- Size: 31.3 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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