Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var PQ = module.exports = require('bindings')('addon.node').PQ;
//print out the include dir
//if you want to include this in a binding.gyp file
if(!module.parent) {
var path = require('path');
console.log(path.normalize(__dirname + '/src'));
}
var EventEmitter = require('events').EventEmitter;
var assert = require('assert');
for(var key in EventEmitter.prototype) {
PQ.prototype[key] = EventEmitter.prototype[key];
}
//SYNC connects to the server
var PQ = module.exports = require('bindings')('addon.node').PQ;
//print out the include dir
//if you want to include this in a binding.gyp file
if(!module.parent) {
var path = require('path');
console.log(path.normalize(__dirname + '/src'));
}
var EventEmitter = require('events').EventEmitter;
var assert = require('assert');
for(var key in EventEmitter.prototype) {
PQ.prototype[key] = EventEmitter.prototype[key];
}
//SYNC connects to the server