]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/ex-mode/node_modules/space-pen/node_modules/grim/node_modules/coffeestack/README.md
f3f64b7083386df947d09c14da854809b412d117
[rbdr/dotfiles] / atom / packages / ex-mode / node_modules / space-pen / node_modules / grim / node_modules / coffeestack / README.md
1 # CoffeeStack [![Build Status](https://travis-ci.org/kevinsawicki/coffeestack.png)](https://travis-ci.org/kevinsawicki/coffeestack)
2
3 Module to convert JavaScript stack traces to CoffeeScript stack traces.
4
5 ## Installing
6
7 ```sh
8 npm install coffeestack
9 ```
10
11 ## Using
12
13 ```coffeescript
14 {convertStackTrace} = require 'coffeestack'
15
16 try
17 throw new Error('this is an error')
18 catch error
19 console.error(convertStackTrace(error.stack))
20 ```