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

@nan0web/ui-llm

v1.0.1

Published

LLM Protocol layer for NaN•Web — Sessions, Drivers, Models, Streaming. One Logic — Many UI.

Readme

@nan0web/ui-llm 🧠

LLM Protocol layer for NanoWeb. Sessions, Drivers, Models, Streaming.

Architecture

Core Exports

  • LLiMoSession — manages a conversation session with an LLM
  • LLiMoMessage — message format (role, content, metadata)
  • LLiMoResponse — structured response from LLM
  • LLiMoDriver — provider-specific driver (Cerebras, HuggingFace, OpenAI, Google)
  • LLiMoContact — contact information for LLM endpoint
  • Model — model metadata and capabilities
  • CliChat — CLI chat abstraction

Philosophy: Chat as the Universal Base

In the One Logic — Many UI strategy, the Chat/LLM interface serves as the primary abstraction for all sequential interactions.

  • Voice is simply a Chat where text is transported via audio (STT/TTS)
  • Forms are decomposed into a sequence of Chat messages (Input → Reply → Validation → Next)

Component Mapping (CLI → LLM)

| CLI Component | LLM Translation | | :------------------------ | :-------------------------------------------------------- | | Select / Autocomplete | Choice buttons, numbered list, or natural language intent | | Confirm | Yes/No quick replies | | Tree / Navigation | Drill-down messages or breadcrumb-labeled options | | Table | Paginated lists or summarized data cards | | Alert / Toast | System notification messages with level-based styling |

Installation

How to install with npm?

npm install @nan0web/ui-llm

How to install with pnpm?

pnpm add @nan0web/ui-llm

Usage

Session

Session manages the chat sequence.

How to create a LLiMoSession instance?

import { LLiMoSession } from '@nan0web/ui-llm'
const session = new LLiMoSession()
console.info(typeof session)

Java•Script

Uses d.ts files for autocompletion

API

All exported classes should pass basic test to ensure API examples work

Contributing

How to contribute? - check here

License

How to license? - ISC LICENSE file.