The Voca library offers helpful functions to make string manipulations comfortable: change case, trim, pad, slugify, latinise, sprintf’y, truncate, escape and much more. The modular design allows to load the entire library, or individual functions to minimize the application builds. The library is fully tested, well documented and long-term supported.
This is a simplified import of the excellent diff-match-patch library by Neil Fraser into the Node.js environment. The match and patch parts are removed, as well as all the extra diff options. What remains is incredibly fast diffing between two strings.
This module exports a single function, escapeHtml, that is used to escape a string of content such that it can be interpolated in HTML content.
Strip ANSI escape codes from a string.
String case utitility: convert, identify, flip, extend.
Convert a string to a valid safe filename.
Slugify a string.
Replace all substring matches in a string.