Skip to main content

latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
23%
Published
a year ago (0.0.2)

OpenAI Node API Library - Deno build

This is a build produced from https://github.com/openai/openai-node – please go there to read the source and docs, file issues, etc.

Usage:

import OpenAI from "https://deno.land/x/openai@v4.28.4/mod.ts";

const client = new OpenAI();

Note that in most Deno environments, you can also do this:

import OpenAI from "npm:openai";

Add Package

deno add jsr:@kwhinnery/openai

Import symbol

import * as openai from "@kwhinnery/openai";

---- OR ----

Import directly with a jsr specifier

import * as openai from "jsr:@kwhinnery/openai";

Add Package

npx jsr add @kwhinnery/openai

Import symbol

import * as openai from "@kwhinnery/openai";

Add Package

yarn dlx jsr add @kwhinnery/openai

Import symbol

import * as openai from "@kwhinnery/openai";

Add Package

pnpm dlx jsr add @kwhinnery/openai

Import symbol

import * as openai from "@kwhinnery/openai";

Add Package

bunx jsr add @kwhinnery/openai

Import symbol

import * as openai from "@kwhinnery/openai";