3.1.3 • Published 5 years ago

require-from-url v3.1.3

Weekly downloads
7,457
License
MIT
Repository
-
Last release
5 years ago

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