Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

636 B
Raw Blame
import JsonViewModule from "react18-json-view";

// react18-json-view ships no `exports` map: bundlers take the ESM `module` build and hand
// over the component, but node ESM (node:test) resolves the CJS `main`, where the default
// import is the whole module namespace. Same interop as redisQuotaStore / keytar-reader.
// Its stylesheets are @imported from src/app/globals.css — never import CSS here or in the
// components (node:test and the browser-bundle check cannot load .css).
export const JsonView = ((JsonViewModule as unknown as { default?: typeof JsonViewModule })
  .default ?? JsonViewModule) as typeof JsonViewModule;