This project is no longer maintained and may not work with recent versions of nodejs or EPICS. Consider using https://github.com/onichandame/epics-ioc-connection instead.
EPICS Channel Access in node.js.
npm install epicsEnsure either EPICS_BASE and EPICS_HOST_ARCH are set or
export NODE_EPICS_LIBCA=/path/to/libcavar epics = require('epics');
var pv = new epics.Channel('SR11BCM01:CURRENT_MONITOR');
pv.on('value', function(data) {
  console.log('Current:', data);
});
pv.connect(function() {
  pv.monitor();
});Tests can be run against an included IOC written in python and using the pcaspy package.
To run the tests, install pcaspy and then run:
npm test