3.1.3 • Published 5 years ago
require-from-url v3.1.3
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