#138 · Primary category: Inference & Local Deploy
ollama-js
Ollama JavaScript library
Project last updated:02/18/26
GitHub Stars
4.4K
Forks
471
Contributors
40
License
MIT
Why we included this project
If your JavaScript or TypeScript app needs to talk to a locally hosted Ollama server, this is the official client to reach for. It wraps the full Ollama REST API into a single npm package, so sending a chat request is a single async call, and streaming responses arrive through an AsyncGenerator for token-by-token output. It runs in Node or directly in the browser, saving you from writing your own fetch plumbing and from keeping up with the API as Ollama evolves. The library also covers the newer cloud-offload path, letting you point the same client at ollama.com for larger models while keeping your local workflow intact. Teams building on top of local models get a dependable, low-friction starting point.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.