How to get server mouse cursor position in node.js?

I'm developing a node.js application to control the server's mouse. Until now I have a code which controls the cursor, but I need feedback to be able to move it around the screen.

var java = require('java');

var Robot = java.import('java.awt.Robot');
var robot = new Robot();

robot.mouseMoveSync(0, 0);

I'm using this piece of code, I'm needing a way to read the current cursor position, or at least be able to move it relatively.