Ollama JavaScript Library
The official JavaScript client for the Ollama API
Visit websiteOverview
This is Ollama's official JavaScript library, wrapping the Ollama REST API for chat, generation, streaming responses, embeddings and model management. It works in both Node and browser applications, and can also reach Ollama's cloud models.