Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

Install

npm i regex-combine-or

DownloadsWeekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

121 kB

Total Files

16

Last publish

Collaborators

  • avatar