2.1.1 • Published 6 months ago

debuggable-eval v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 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');

Support

License

© Michael Naumov

2.1.1

6 months ago

2.1.0

6 months ago

2.0.3

6 months ago

2.0.2

6 months ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.2.3

2 years ago