JVMPin provides a nodejs implementation of the nailgun protocol.
Information about nailgun can be found at http://www.martiansoftware.com/nailgun/. While the nailgun native library and java dependencies can either be found at sourceforge or resolved via the maven repository using the dependency:
The JVMPin library can be installed via npm by adding the following to your package.json's dependencies or devDependencies sections:
You will need to start your nailgun instance in another process (this is a task I leave to the reader).
Then simply connect to the nailgun instance using:
var jvmpin = ;var proc = jvmpin;// now to take over the currently running context by binding stdioprocstdout;procstderr;processstdin;proc
For more information please consult the API Documentation
Copyright Â© 215 Benjamin Conlan
Distributed under the Eclipse Public License.