require-from-url
v3.1.3
Published
Require module from URL
Downloads
31,471
Readme
require-from-url
Load module from URL in Node.
Install
$ npm install require-from-url
Usage
var requireFromUrl = require('require-from-url/sync');
var HelloWorld = requireFromUrl("https://nodeway.org/HelloWorld.js");
var api = new HelloWorld;
api.on('data', console.log);
License
MIT © May xiaoya zhang