Encapsulates a term within a string with html tags of your choosing.
$ npm install tagterm
tagterm(input, term, tag)
In JS
var tagterm = require('tagterm');
input = "hello world, how are you?";
input = tagterm(input, "world", "em");
Output
hello <em>world</em>, how are you?
As HTML
hello world, how are you?