lodash.escaperegexp

The lodash method `_.escapeRegExp` exported as a module.

Usage no npm install needed!

<script type="module">
  import lodashEscaperegexp from 'https://cdn.skypack.dev/lodash.escaperegexp';
</script>

README

lodash.escaperegexp v4.1.2

The lodash method _.escapeRegExp exported as a Node.js module.

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.escaperegexp

In Node.js:

var escapeRegExp = require('lodash.escaperegexp');

See the documentation or package source for more details.