Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/string.prototype.matchall

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

@types/string.prototype.matchall

TypeScript definitions for string.prototype.matchall

  • 4.0.4
  • ts5.4
  • ts5.5
  • ts5.6
  • ts5.7
  • ts5.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
54K
increased by2.43%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/string.prototype.matchall

Summary

This package contains type definitions for string.prototype.matchall (https://github.com/ljharb/String.prototype.matchAll#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/string.prototype.matchall.

index.d.ts

/**
 * Matches a string with a regular expression, and returns an iterable of matches
 * containing the results of that search.
 * @param str string to match
 * @param regexp A variable name or string literal containing the regular expression pattern and flags.
 */
declare function matchAll(str: string, regexp: string | RegExp): IterableIterator<RegExpExecArray>;

declare namespace matchAll {
    function shim(): void;
}

export = matchAll;

Additional Details

  • Last updated: Mon, 04 Dec 2023 16:07:52 GMT
  • Dependencies: none

Credits

These definitions were written by Piotr Błażejewicz.

FAQs

Package last updated on 04 Dec 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc