$ npm install escape-regexp
Escape regular expression special characters.
var escape = require('escape-regexp'); escape(str);
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE