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

@corenel/term

v0.7.0

Published

Corenel's terminal face — a headless chat controller plus its Ink views. `./session` is ink-free and shared with the CLI's readline fallback; only `./ink` pulls React. dist/ is bundled (see build.mjs), but @corenel/harness and @corenel/protocol stay EXTER

Readme

@corenel/term

Corenel's terminal face: a headless chat controller and the Ink views that render it. Published so @corenel/cli can depend on it; usable directly if you are building a terminal agent of your own.

Requires Node 22+.

The split that matters

./session and its siblings are Ink-free. Only ./ink pulls in React.

That is deliberate: the CLI runs the same controller behind two faces — the full terminal UI on a TTY, and a plain readline loop when output is piped, under TERM=dumb, in CI, or with --no-tui. Both drive one controller, so a fix to turn handling lands in both faces at once rather than in whichever one somebody remembered.

| Export | What it is | Pulls React | | --- | --- | --- | | ./session | The turn controller — runs a turn, emits deltas | no | | ./state | The conversation state a face renders | no | | ./commands | Slash commands (/clear, /resume, …) | no | | ./describe | Human-readable renderings of harness events | no | | ./persist | Save and reopen conversations | no | | ./ink | The full terminal UI: scrollback, live tail, modals, palette | yes |

import { TermSession } from '@corenel/term/session';

Packaging

dist/ is bundled (see build.mjs): @corenel/harness and @corenel/protocol are inlined at build time and are not runtime dependencies. The only things installed alongside this package are ink, ink-text-input, openai and react.

One consequence worth knowing before you use this from TypeScript: the published .d.ts files still reference @corenel/harness and @corenel/protocol for types. The JavaScript runs without them, but a TypeScript consumer needs both installed for those types to resolve. Both are on npm.

Licensed under Elastic-2.0.