🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@cush/execall

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cush/execall

Array of RegExp.prototype.exec results

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@cush/execall v1.0.0

Returns a new array of RegExp.prototype.exec matches.

Forked from https://github.com/eush77/regexp.execall

const all = require('@cush/execall');

all(regexp, string); // => []
  • Empty matches are excluded from the array.
  • When regexp.global is false, the array will either have one match or none.
  • When string is falsy, the array will always be empty.

FAQs

Package last updated on 17 Jul 2018

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