Escapes square brackets in a string, useful for queries and other such things.
$ npm install removetags
removetags(string)
In JS
var removetags = require('removetags');
input = "hello <em>world</em>, how are you?";
input = removetags(input);
Output
hello world, how are you?