regex-combine-or

1.0.5 • Public • Published

regex-combine-or

travis NPM Downloads node License MIT

Combines an array of regexes into a single regex using or operator |.

Usage

 
const { regexCombineOr } = require('regex-combine-or');
 
let regex = regexCombineOr(/node_modules/, /bower_components/);
 
console.log(regex)// /(node_modules)|(bower_components)/
 

License

MIT © Nivrith Mandayam Gomatam

/regex-combine-or/

    Package Sidebar

    Install

    npm i regex-combine-or

    Weekly Downloads

    14

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    121 kB

    Total Files

    16

    Last publish

    Collaborators

    • nivrith