require-remote
Require modules from any URL
Install
npm install require-remote
Usage
const foo = await 'http://module.com'console //=> 'function'
Right now it doesn't support modules requiring other modules. So if your remote module does a require()
it will fail.
Contribute
Feel free to open an issue or a PR.
License
Author
© 2017 Pablo Varela |