$ npm i devsnek/esm_loader
$ node -r esm_loader
Protip: The NODE_OPTIONS
environment variable accepts -r
arguments, so you can make node load this module by default.
Configure the loader by modifying exports.loaderMap
and
exports.extensionMap
.