regexp-quote

RegExp.quote = require('regexp-quote')

npm install regexp-quote
58 downloads in the last day
1 258 downloads in the last week
5 653 downloads in the last month
npm loves you