remote-vm
v0.1.1
Published
Use external blocks of code within a Node.js service.
Downloads
6
Readme
Use external blocks of code within a Node.js service. Allows for some of the logic to be centrally located.
- Execute VM scripts fetched from a remote location, e.g. gist.
- Support for private GitHub repositories.
Define a remote function using a URL.
var remoteMethod = vm.define( 'some-url-of-js' );
Execute remote function, passing in some new data.
remoteMethod.call({ myData: true });
Flush cached method.
remoteMethod.refresh();