node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

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