node.js Addons using the cocoa framework

I would like to use some of the c++ frameworks offered in cocoa to use with in the node.js addon system.

If say for example how would you get the mouse position at the os level in node.js on a mac if you can not use the cocoa frameworks in a node.js addon.

If there is a way to link it up could someone please provide help in how to do that?