ollama/ollama-js
Official JavaScript/TypeScript client library for the Ollama local LLM runtime.

Velocity · 7d
+4.3
★ / day
Trend
→steady
star history
The Ollama JavaScript library provides the easiest way to integrate JavaScript projects with Ollama, a local LLM runtime. It offers both Node.js and browser modules for chat interactions with large language models, supports response streaming, and can interface with local or cloud-hosted Ollama models including multi-turn conversations via a message-based API.