/coffeestack

CoffeeScript Stacktrace Converter

Primary LanguageCoffeeScript

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))