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

@plurnk/plurnk

v0.66.1

Published

Plurnk client app — CLI/TUI consuming plurnk-service. Type prompts at a terminal, drive real model loops through the protocol.

Readme

plurnk

Terminal client for plurnk-service — type a prompt, drive a real model loop through the plurnk DSL. CLI one-shot, interactive TUI, and read-only subcommands over one WebSocket.

install

Try it instantly — zero install, npx fetches both (always latest):

export PLURNK_API_KEY="…"               # your plurnk key
npx @plurnk/plurnk-service start         # daemon — terminal 1
npx @plurnk/plurnk "what is 2+2?"        # client — terminal 2

Or install for keeps:

npm install -g @plurnk/plurnk           # the client — lean, just a WebSocket client
npm install -g @plurnk/plurnk-service   # the daemon — its own (lean) install story
plurnk-service                          # start the background daemon

The client is a pure WebSocket client: it connects to a daemon at PLURNK_WS (default ws://127.0.0.1:3044) and never starts one — the daemon is installed and run separately. All engine config — models, turns, providers — lives in the daemon's environment.

use

plurnk "what is the capital of France?"      # one-shot — bare answer on stdout
plurnk --json "…" | jq -r .response            # json mode: ONE complete record document
plurnk read 3/1/2 --json                       # drill into one op by L/T/S coordinate
cat notes.md | plurnk "summarize this"        # piped stdin (appended)
plurnk                                         # interactive TUI (no args, a TTY)
plurnk models | session list | log read …      # read-only subcommands
plurnk --help                                  # full flag list

Two output modes. Default: stdout is the bare answer, stderr the trace — plurnk "X" > a.txt captures just the answer. --json (or PLURNK_CLIENT_JSON): one complete structured document on stdout (response + turns[].ops + telemetry + usage), stderr silent, errors as {"error":…}. Op content isn't inlined — fetch it on demand with plurnk read <coord>. The CLI is the integration layer: shell out, parse, no WebSocket client to build.

Line language (converged across the TUI, the CLI prefixes, and plurnk.nvim's :AI):

| | | |---|---| | text | a prompt (?=ask / :=act prefix) | | /verb | /models /sessions /runs /log /model /yolo /session [name] /run [name] /rename <name> /stop /quit, membership /pick /hide /view /drop /members, /import <path> | | <<…>> | raw plurnk DSL (op.parse) | | ! cmd | exec via the daemon | | ... text | inject into the running loop (or just type — a mid-loop prompt steers) |

Tab completes verbs, model aliases, file paths (/pick, @file), and DSL ops (<<RE<<READ). Multi-line paste folds to one prompt.

Key flags: --model <alias> · --yolo · --json · --session/--run <name> · --project-root <p> · --max-turns <n> · --timeout <s> · membership --pick/--hide/--view <glob> · --manifest-items <n> · --md NAME=path.

Env: PLURNK_WS (the one knob the client needs — daemon URL, default ws://127.0.0.1:3044) · PLURNK_CLIENT_SESSION / PLURNK_CLIENT_RUN (resume) · PLURNK_MODEL · PLURNK_CLIENT_YOLO · PLURNK_CLIENT_PROJECT_ROOT. Shared ~/.plurnk cascade with the daemon: ~/.plurnk/.env.example < ~/.plurnk/.env < ./.env < --env-file/--env-file-if-exists < shell. The client ships no .env.example of its own — the floor is the daemon's; the client just reads PLURNK_WS from it (and works with no config at all).

what plurnk is

The model emits operations in a compact grammar; the daemon executes them, persists state, and the client renders the trace:

<<EDIT[france,europe](known://countries/france/capital):Paris:EDIT
<<SEND[200]:Paris:SEND

Multi-turn loops emerge from the structure — SEND[102] continues, SEND[200] terminates — fancy agent behavior on weak models via grammar rather than raw capability. See plurnk-service.

exit codes (CLI mode)

0 success (SEND[200]) · 1 runtime error · 2 maxTurns cap · 3 cancelled (SEND[499] / --timeout) · 4 loop failed (4xx/5xx final) · 64 usage error.

license

MIT.