New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

regex-combine-or

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regex-combine-or

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

latest
Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
6
100%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

regex

FAQs

Package last updated on 29 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts