Skip to content

devsnek/esm_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esm_loader

$ 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.