UNPKG

ai-json-fixer

Version:

A simple JSON parser designed to handle malformed JSON from Large Language Models

5 lines 177 B
/** * Removes trailing content after valid JSON */ export declare function removeTrailingContent(input: string): string; //# sourceMappingURL=trailing-content-removal.d.ts.map