UNPKG

redos-detector

Version:

A CLI and library which tests helps score how vulnerable a regex pattern is to ReDoS attacks. Supported in the browser, Node and Deno.

2 lines (1 loc) 55 B
export declare function once<T>(fn: () => T): () => T;