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.
Polyfill for Node.js module.createRequire (<= v12.2.0)