node-contextify

turn an object into a persistent execution context
  https://github.com/brianmcd/contextify
  0
  no reviews



Contextify is a NodeJS module that lets you to turn an object into a persistent V8 execution context.

A contextified object acts as the global 'this' when executing scripts in its context. Contextify adds 3 methods to the contextified object:
- run(code, filename);
- getGlobal();
- dispose().
The main difference between Contextify and Node's vm methods is that Contextify allows asynchronous functions to continue executing in the Contextified object's context.