npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dranai

v0.5.0-b5

Published

`dranai` (Dragon AI) is a comprehensive AI-powered application designed with a client-server architecture. It serves as a unified interface and proxy for various LLM providers, offering an Ollama-compatible API for seamless integration with existing tools

Readme

Dragon AI (dranai)

dranai (Dragon AI) is a comprehensive AI-powered application designed with a client-server architecture. It serves as a unified interface and proxy for various LLM providers, offering an Ollama-compatible API for seamless integration with existing tools.

Features

  • Ollama-Compatible API: Implements key endpoints of the Ollama API, allowing it to work with clients that support Ollama.
    • /api/chat: Supports chat completions with streaming and non-streaming responses.
    • /api/tags: Lists available models from registered providers.
  • LangChain Integration: Utilizes LangChain for robust LLM interactions and abstraction.
  • Multimodal Support: Supports image inputs in chat requests (base64 encoded) for vision-capable models.
  • Provider Management: Dynamically manages and routes requests to different LLM providers via a registry system.

Usage

Installation

npm install -g dranai

Running the Server

Start the server using the CLI command:

dranai
# or
npx dranai

The server listens on port 28700 by default.

Configuration

Configuration is handled via environment variables. You can define them in a .env file in your working directory.

| Variable | Description | Default | | :--- | :--- | :--- | | DRANAI_PORT | The port the server listens on. | 28700 | | DRANAI_OLLAMA_HOST | The URL of the backing Ollama instance. | http://localhost:11434 |

API Endpoints

The server exposes an Ollama-like API under /api/ollama/:id where :id is an identifier for the tenant or context (implementation dependent).

  • Chat: POST /api/ollama/:id/api/chat
    • Standard Ollama chat request format.
    • Supports images (base64) for multimodal input.
  • Tags: GET /api/ollama/:id/api/tags
    • Returns a list of available models from all registered providers.