Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.
Check if a protocol requires a certain port number to be added to an URL.
shim for require.main.filename() that works in as many environments as possible
Polyfill for Node.js module.createRequire (<= v12.2.0)