/texthighlighter

TextHighlighter allows you to highlight text on web pages.

Primary LanguageJavaScriptMIT LicenseMIT

TextHighlighter

TextHighlighter allows you to highlight text on web pages. Just select it!

Getting started

Install with npm:

$ npm install texthighlighter

Use with webpack / browserify:

var TextHighlighter = require("texthighlighter");
var hltr = new TextHighlighter(document.body);

Lightweight CommonsJS port of text highlighter module by mir3z - jQuery integration not ported. For more details, please refer to the original module's Github page