Showing 1-6 of 6 packages
Extends module paths with process.mainModule paths
Test if an ES module is run directly (require.main replacement)
Run .mjs files from your command line, with all the tweaks from esmod-pmb.
See releases for playing with single binaries or ... do the steps listed below.
Handy function to handle import.meta
Fakes require.main for debug and testing purposes.