TypeScript implementation of json_repair - repairs invalid JSON strings, supports CommonJS, ES modules, and universal browser/Node.js compatibility