Surround.js: quickly search through text and wrap results in custom tags (github.com)
surround.js provides a set of utility functions for searching through large strings of text and wrapping a search term in custom tags.<p>Let's say you want to highlight or make button links out of all instances of a word in a huge article. surround.js makes that very easy.
0 comments
[ 3.0 ms ] story [ 7.6 ms ] threadNo comments yet.