regexp-quote

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

npm install regexp-quote
308 downloads in the last day
1 570 downloads in the last week
5 761 downloads in the last month
npm loves you