coffeestack

CoffeeScript Stacktrace Converter

View the Project on GitHub kevinsawicki/coffeestack

CoffeeStack Build Status

Module to convert JavaScript stack traces to CoffeeScript stack traces.

Installing

npm install coffeestack

Using

{convertStackTrace} = require 'coffeestack'

try
  throw new Error('this is an error')
catch error
  console.error(convertStackTrace(error.stack))