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

@termuijs/quick

v0.1.7

Published

Fluent builder API for TermUI: gauges, tables, and dashboards in ~20 lines

Readme

@termuijs/quick

Build terminal apps in around 20 lines. A fluent builder API on top of the TermUI stack. Layout, data binding, theming, and the render loop are handled for you.

Good for dashboards, monitors, and prototypes where you don't need fine-grained control over every widget.

Install

npm install @termuijs/quick

Requires @termuijs/core and @termuijs/widgets.

Usage

import { app, gauge, table, text, sparkline } from '@termuijs/quick'

app('My Dashboard')
    .rows(
        app.cols(
            gauge('CPU', () => 0.65),
            gauge('Memory', () => 0.42),
        ),
        table('Users', {
            columns: ['Name', 'Role'],
            data: () => [
                { Name: 'Alice', Role: 'Admin' },
                { Name: 'Bob', Role: 'User' },
            ],
        }),
    )
    .run()

Builders

Layout

| Builder | What it creates | |---------|----------------| | app(title) | Root container. Call .run() to start | | app.rows(...) | Stack children vertically | | app.cols(...) | Stack children horizontally | | grid(columns, items) | Grid layout; items wrap every N columns |

Display

| Builder | What it creates | |---------|----------------| | text(content) | Static or dynamic text | | streamingText(opts) | Typewriter text; text, speed, cursor | | chatMessage(opts) | Chat bubble; role, content, timestamp | | toolCall(opts) | AI tool call display; name, status, args, result | | jsonView(data) | Collapsible JSON tree | | diffView(diff) | Unified diff viewer from a raw diff string |

Data and feedback

| Builder | What it creates | |---------|----------------| | gauge(label, valueFn) | Live gauge (0.0 to 1.0) | | table(label, config) | Data table from an array of objects | | sparkline(label, dataFn) | Inline chart from an array of numbers | | multiProgress(items) | Multiple labeled progress bars | | commandPalette(commands) | Searchable command menu |

Reactive updates

Pass a function instead of a static value. The framework calls it on each render cycle.

gauge('CPU', () => getCpuUsage())
table('Processes', {
    columns: ['PID', 'Name', 'CPU'],
    data: () => getTopProcesses(10),
})

Re-exported hooks

All major hooks are available directly from @termuijs/quick:

import {
    useKeymap,
    useMotion,
    useTheme,
    useNotifications,
    useAsync,
    useCpu,
    useMemory,
    useDisk,
    useNetwork,
    useTopProcesses,
    useSystemInfo,
    useHttpHealth,
} from '@termuijs/quick'

AI assistant dashboard example

import { app, chatMessage, toolCall, streamingText } from '@termuijs/quick'

app('AI Assistant')
    .rows(
        chatMessage({ role: 'user', content: 'Show me the top processes' }),
        toolCall({ name: 'get_processes', status: 'running' }),
        streamingText({ text: 'Fetching system data...', speed: 40 }),
    )
    .run()

AutoThemeProvider and ErrorBoundary

app() wraps your root in AutoThemeProvider and ErrorBoundary automatically. You get theme detection and error recovery without any extra setup.

Pairs well with @termuijs/data

import { app, gauge } from '@termuijs/quick'
import { useCpu, useMemory } from '@termuijs/quick'

function Monitor() {
    const cpu = useCpu(500)
    const mem = useMemory(1000)
    return app.cols(
        gauge('CPU', () => cpu.usage / 100),
        gauge('MEM', () => mem.used / mem.total),
    )
}

Documentation

Full docs at www.termui.io/docs/guides/quick.

License

MIT