node-eval
node-eval copied to clipboard
Import not working?
I tried to use an import statement instead of the require:
import * as _eval from 'eval';
But when using the module I get the error message _eval is not a function
.