window mouse position transform to canvas position.
Install with component(1):
$ component install brighthas/window2canvas
var w2c = require("window2canvas");
var cavansXY = w2c(canvasElement,clientX,clientY);
console.log(cavansXY.x , cavansXY.y);
MIT