Is there a standard way to require a Node module located at some URL (not on the local filesystem)?
Something like:
require(\'http://example.com/node
You could overwrite the default require handler for .js files:
require.extensions['.js'] = function (module, filename) { // ... }
You might want to checkout better-require as it does pretty much this for many file formats. (I wrote it)