coffee-script-mapped
coffee-script with stack trace mapping
Last updated 7 years ago by illniyar .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install coffee-script-mapped 
SYNC missed versions from official npm registry.

coffee-script-mapped

At the moment the coffee-script node.js module lacks proper support for stack-traces when compile coffeescript files. This module adds the correct line and column indication in stack-traces for coffee-script modules loaded with require() or parsed using the coffeem command (which replaces coffee command).

to install :

npm install coffee-script-mapped

to run as a command line you can call coffeem (which works exactly as the coffee command, except it'll have proper stacktraces)

Notes:

  • the "coffee-script-mapped" module exports the coffee-script module, so you can use it wherever you used the coffee-script module
  • this module does not provide the "coffee-script" module, you need to provide it on you own (this is so that any version can be used)
  • this module caches sourcemaps for all coffee-scripts, so it might create some overhead.
  • you can pass --no-source-maps to the node or coffeem commands to disable this module (which will revert to the standard coffee-script module)

License MIT: http://opensource.org/licenses/MIT

Acknowledgments:

Current Tags

  • 0.1.7                                ...           latest (6 years ago)

7 Versions

  • 0.1.7                                ...           6 years ago
  • 0.1.5                                ...           7 years ago
  • 0.1.4                                ...           7 years ago
  • 0.1.3                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 7
Last Month 0
Dependencies (1)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |