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
Install the module first :
npm install require-from-url
And then put in your file :
var requireFromUrl = require('require-from-url/sync'); requireFromUrl("http://example.com/nodejsmodules/myModule.js");