Determine the current position of the selection or cursor.
Install with component(1):
$ component install bmcmahen/selection-position
var position = require('selection-position');
var rect = position();
// rect.top, rect.height, etc.
npm install component-test -g
component test browser
MIT