1.1.3 • Published 4 years ago

requirehttpsync v1.1.3

Weekly downloads
3
License
GPL-3.0-or-later
Repository
github
Last release
4 years ago

requirehttpsync

require node modules from http server synchronously (including recursive module loading)

using node module sync request

sync is sometimes said to be against production, but its not 100% true, loading a few modules in the beginning of the program is not too bad.

After implementing some caching, like nodejs genric require does, we will also be able to load modules withinloops and function calls, without scaring about scability.

Usage

var rhs=require("requirehttpsync");


var mod=rhs("https://raw.githubusercontent.com/neimanpinchas/requirehttpsync/master/test_module.js");

console.log(mod);

mod.hello();
1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago