NPM Module for browser selection object manipulation to enable enhanced contenteditable functionality for smart editors.
Loosely based on selection, with code from this StackOverflow question.
Updated by @razzed
to work with various browsers.
Uses the MIT License.
var Selection = require("selectionx");
var sel = Selection(document.getElementById('div'));
TODO