File: README.md

package info (click to toggle)
node-to-regex 3.0.2%2B~cs6.3.28-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,252 kB
  • sloc: javascript: 10,225; sh: 10; makefile: 7
file content (27 lines) | stat: -rwxr-xr-x 968 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/safe-regex/index.d.ts)
````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](https://github.com/mhegazy).