remote-vm

0.1.1 • Public • Published

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();

Readme

Keywords

none

Package Sidebar

Install

npm i remote-vm

Weekly Downloads

0

Version

0.1.1

License

ISC

Last publish

Collaborators

  • andy.potanin