openai
Version:
The official TypeScript library for the OpenAI API
14 lines • 486 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRuntime = void 0;
const web_runtime_1 = require("./web-runtime.js");
const node_fs_1 = require("node:fs");
function getRuntime() {
const runtime = (0, web_runtime_1.getRuntime)();
function isFsReadStream(value) {
return value instanceof node_fs_1.ReadStream;
}
return { ...runtime, isFsReadStream };
}
exports.getRuntime = getRuntime;
//# sourceMappingURL=bun-runtime.js.map
;