openai/openai-node
Official JavaScript / TypeScript library for the OpenAI API observed · 2026-10-18
Health v2 · maintenance only
96/100
- Activity 100
- Release rhythm 88
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 2.0
- age_days: 1771
- days_rel: 3
- days_push: 3
- n_releases_24m: 219
Adoption not part of the score
11225 stars · 1622 forks observed · 2026-10-18
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-10-18 · 7495a7558431
- homepage: https://www.npmjs.com/package/openai · fetched 2026-08-29 · 32dc9229a63e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openai/openai-node | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="openai/openai-node")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem