UNPKG

open-loop-killer

Version:

Inject timeout protection into JavaScript loops to prevent infinite loops. Supports while, for, do-while, for-in, and for-of loops with customizable timeout and error messages.

9 lines (6 loc) 202 B
/** * Generates a random unique identifier for variable names * @returns A random string starting with underscore (e.g., "_a3f9d2") */ declare function idGenerator(): string; export = idGenerator;