ES Modules
lastmjs opened this issue ยท 3 comments
lastmjs commented
Hey, it would be great if bcrypt could support ES Modules natively (in the source code), which are the standard JavaScript module format moving forward across the browser and Node.js. I would love to be able to do something like this natively in the browser:
import * as bcrypt from 'bcrypt';
lastmjs commented
@cekvenich I'm also curious about this thumbs down, do you think this is a bad idea?
Deleted user commented
+1 Still a bit too early, but def. to keep on the radar. From Node.js Foundation
--experimental-modules flag is hopefully dropped in October 2019
jthrilly commented
Hello from the future!
Now that the --experimental-modules
flag is dropped, and ECMA modules in node are enabled by default, should this be revisited?