1.2.0 • Published 9 months ago

debuggable-eval v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

NPM Module debuggable-eval

codecov

Makes eval() debugger-friendly with ability to set breakpoints and see proper line numbers in the Error stack traces

Usage

npm install debuggable-eval
const debuggableEval = require('debuggable-eval');
// or
import debuggableEval from 'debuggable-eval';

debuggableEval(`console.log('Line 1');
console.log('Line 2');
throw new Error('Error in Line 3');`, 'testScript.js');

📝 License

Copyright © 2023 Michael Naumov.

This project is MIT licensed.

1.2.0

9 months ago

1.1.0

10 months ago

1.0.0

10 months ago

0.2.3

10 months ago