UNPKG

use-every-llm

Version:

A unified API wrapper to use OpenAI & Gemini from any runtime (Node, Browser, Edge, Bun, Deno).

10 lines (7 loc) 280 B
"use strict"; // CJS shim that lazy-loads the ESM module. // Works on modern Node without extra deps. exports.initLLM = (...args) => import("./index.esm.js").then(m => m.initLLM(...args)); exports.useLLM = (...args) => import("./index.esm.js").then(m => m.useLLM(...args));