was-gpt-here
v0.1.0
Published
Detect whether a codebase contains a common GPT-style isRecord helper.
Readme
was-gpt-here
Tiny CLI that scans a codebase for this TypeScript helper pattern:
function isRecord(value: unknown): value is Record<string, unknown> {
return typeof value === 'object' && value !== null;
}Usage
npx was-gpt-here@latestIt prints yes when the pattern is found and no otherwise.
You can also scan a specific path:
npx was-gpt-here@latest path/to/project