@types/safe-regex
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.3 • Public • Published

    Installation

    npm install --save @types/safe-regex

    Summary

    This package contains type definitions for safe-regex (https://github.com/davisjam/safe-regex).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/safe-regex.

    index.d.ts

    // Type definitions for safe-regex 1.1
    // Project: https://github.com/davisjam/safe-regex
    // Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    export = safe_regex;
    declare function safe_regex(re: string | RegExp, opts?: { limit?: number | undefined }): boolean;

    Additional Details

    • Last updated: Tue, 06 Jul 2021 16:34:11 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Mohamed Hegazy.

    Keywords

    none

    Install

    npm i @types/safe-regex

    DownloadsWeekly Downloads

    142,542

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    3.25 kB

    Total Files

    4

    Last publish

    Collaborators

    • types