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

@3akhp/opentui-core

v0.5.3-zv6

Published

OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)

Readme

OpenTUI Core

OpenTUI is a native terminal UI core written in Zig with TypeScript bindings. The native core exposes a C ABI and can be used from any language. OpenTUI powers OpenCode in production today and will also power terminal.shop. It is an extensible core with a focus on correctness, stability, and high performance. It provides a component-based architecture with flexible layout capabilities, allowing you to create complex terminal applications.

Documentation

Install

bun install @opentui/core

Build

bun run build

This creates platform-specific libraries that are automatically loaded by the TypeScript layer.

Examples

bun install
cd ../examples
bun run dev

Benchmarks

Run native performance benchmarks:

bun run bench:native

See src/zig/bench.zig for available options like --filter and --mem.

NativeSpanFeed TypeScript benchmarks:

CLI Renderer

Renderables

Renderables are hierarchical objects that can be positioned, nested, styled and rendered to the terminal:

import { createCliRenderer, TextRenderable } from "@opentui/core"

const renderer = await createCliRenderer()

const obj = new TextRenderable(renderer, { id: "my-obj", content: "Hello, world!" })

renderer.root.add(obj)

Vesicle fork provenance

This package is the Prism Vesicle patch-queue fork of anomalyco/opentui, published under the @3akhp/opentui-core scope. Lineage for 0.5.3-zv6:

  • upstream base: tag v0.5.3
  • fork patch commits on top of the base:
  • 3acf6579 fork(ci): make release runs land on a clean tree and a provenance-capable npm
  • ec4ac002 fork(release): accept release-tag checkouts in release-context guards
  • 0b05471c fork(release): full-scope solid rewriter and OIDC publish mode
  • 4e5d17ec feat(core): propagate markdown selection colors to prose, markers, and code
  • dd655a3f fix(core): keep fork platform packages external in the bundled runtime
  • f45bf36b fork(ci): OIDC release workflow for scoped fork packages (Trusted Publishing)
  • e8ca661a fork(release): report the actual core pin in solid prepare output
  • 80518ce4 fork(release): rewrite solid subpath core imports and assert zero leftovers
  • 583fb54d fork(release): treat registry overwrite refusal as already-published resume
  • 0a34b04b fork(release): retry dependency verification while new packages propagate
  • 6f7f70ac fork(release): fork-built native platform packages for six non-darwin variants
  • bc6d76d1 fork(release): retry post-publish registry reads while metadata propagates
  • e5695602 fork(release): fix mkdtempSync import (node:fs, not node:os)
  • 373934f2 fork(release): scoped-package publish pipeline for @3akhp/opentui-core
  • 8b86e375 feat(core): expose selection colors on markdown and text table renderables
  • f1c5d3e5 test(core): align emoji vertical-nav expectation with grapheme-boundary snap
  • 3950ee68 fix(core/editor-view): snap visual cursor columns to grapheme boundaries
  • c9321e29 fix(core/text-buffer-view): fill partially wrapped lines across chunk boundaries
  • 92043ace fix(core/tree-sitter): render markdown backslash escapes as the escaped character

Fork policy: VESICLE_FORK.md. The upstream MIT license and attribution are preserved unchanged.