cheerio

The fast, flexible & elegant library for parsing and manipulating HTML and XML.

linkifyjs

Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.

mark.js

Highlight keywords using JavaScript. Intended for every use case. Can e.g. be used to mark text in search results.