openai/openai-node
Official JavaScript / TypeScript library for the OpenAI API observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2
- age_days: 1723
- days_rel: 7
- days_push: 7
- n_releases_24m: 210
Adoption not part of the score
11145 stars · 1562 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The official JavaScript/TypeScript SDK for the OpenAI REST API, auto-generated from OpenAI's OpenAPI specification. It provides typed access to models, chat completions, the Responses API, embeddings, vision, and other OpenAI services from Node.js, Deno, and browser environments.
Use cases
- call the openai api from nodejs
- generate text with gpt models in typescript
- build a chatbot with chat completions
- stream llm responses in javascript
- analyze images with openai vision api
- create embeddings for semantic search
- manage multi-turn conversation state with the responses api
When to choose
- you use TypeScript or JavaScript and want official, typed access to the OpenAI API
- you need streaming, tool calls, or the Responses API with up-to-date features
- you want an auto-generated client that tracks the OpenAPI spec closely
When to avoid
- you need a provider-agnostic LLM client that works across OpenAI, Anthropic, and local models
- you are not using the OpenAI API at all
- you need a runtime other than Node.js/Deno/browsers without fetch support
Facets
library · maturity stable
http-client sdk llm-inference chatbot agent-framework large-language-models artificial-intelligence developer-tools apis cross-platform openai-api api-client openapi-generated streaming responses-api chat-completions official-sdk nodejs deno typescript javascript
2 sources
- readme: https://github.com/openai/openai-node · fetched 2026-08-28 · 7495a7558431
- homepage: https://www.npmjs.com/package/openai · fetched 2026-08-29 · 32dc9229a63e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openai/openai-node | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="openai/openai-node")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem