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

@xpang/lmx

v0.3.0

Published

LLM executables powered by Pi

Readme

lmx

LLM executables: Unix-style commands powered by Pi.

lmx lets you package prompts as normal command-line programs. The package also ships three built-ins: summarize, classify, and judge.

Install

npm install -g @xpang/lmx
lmx --help

Requirements:

  • Node.js and npm
  • Pi auth already configured on the machine
  • Bash, including on Windows via Git Bash / Git for Windows

Quick Start

summarize "LMX turns prompts into normal command-line tools."
summarize < README.md
summarize @README.md
echo "The payment page crashes after submit" | classify --labels "bug,feature,question"
summarize < README.md | judge "contains all the built-ins"
summarize < README.md | judge "contains npm install instructions"

Built-ins default to openai-codex/gpt-5.5. Override the model when needed:

summarize --model openai-codex/gpt-5.5 "Summarize this."

Built-In Commands

summarize

Summarize text from an argument or stdin.

summarize "Long text..."
summarize @article.txt
echo "Long text..." | summarize --instructions "one sentence"

classify

Classify text into one of the labels you provide.

classify --labels "bug,feature,question" "Add dark mode"

judge

Evaluate a candidate against a rubric. Output is MET or UNMET.

judge "The candidate must be concise." "Short and accurate."
echo "Short and accurate." | judge "The candidate must be concise."
summarize < README.md | judge "The summary must mention installation."

CLI

lmx create <name>
lmx build <name|path>
lmx bench <name> [--model provider/id]
lmx bench --all [--model provider/id]
lmx run <program-dir> [args...]
lmx list

Most users call installed programs directly, such as summarize, instead of calling lmx run.

String inputs and program parameters can use @file.txt to read UTF-8 text from a file relative to the current directory. Use @@file.txt when you need a literal leading @.

What Is an LMX Program?

An LMX program is a folder with a prompt and config:

my-tool/
  LMX.md
  config.yaml
  bench/

LMX.md contains the program instructions. config.yaml defines metadata, parameters, tools, and the default model. lmx build validates the program and generates npm-ready entrypoints.

Local Development

Clone the repo:

git clone https://github.com/xpang185/lmx.git
cd lmx

Install and build:

npm install
npm run build

Run the CLI from source:

npm run dev -- --help
npm run dev -- run built-ins/summarize "Text to summarize"

Link the package locally:

npm link
lmx --help
summarize --help

On Windows, lmx.cmd is available at the repo root after checkout, so lmx ... works from cmd.exe while your current directory is the repo root.

Validation

npm run check
npm run build

If command behavior changes, also test the affected command manually.

Releases

Normal commits land on main. Release Please keeps a release PR open with the next npm version and changelog.

When you are ready to publish, merge the release PR. The GitHub release workflow then creates the tag/release and runs npm publish.