julien-f-source-map-support
Source maps for Node (using stack-chain)
Differences with source-map-support:
- support only Node (no browsers)
- simpler:
- do not handle uncaught exceptions
- cannot specify a custom resolution
- based on stack-chain
Note: the name of this package is temporary, maybe it will be renamed to something better or it will be integrated with source-map-support.
Install
Installation of the npm package:
> npm install --save julien-f-source-map-support
Usage
The perfect setup:
ErrorstackTraceLimit = 100 // Async traces.//// Does not work with Node < 4.try catch _ {} // Hide core modules from traces. // Support source maps.
Development
# Install dependencies
> yarn
# Run the tests
> yarn test
Contributions
Contributions are very welcomed, either on the documentation or on the code.
You may:
- report any issue you've encountered;
- fork and create a pull request.
License
ISC © Julien Fontanet