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

linersh

v1.1.1

Published

Liner — npm shim, Go TUI launcher, and headless methodology runner.

Readme

Liner NPM Shim And Runner Package

This package is still named linersh because it owns the published liner binary. It is no longer the React/Ink TUI implementation.

Active responsibilities:

  • bin/liner.js: npm binary shim
  • Go TUI launcher for packages/go-tui/ in development
  • TypeScript headless methodology runner under src/agents/
  • packaged curation skill bundle copied from ../../docs/curation-skill/ into cli-update-docs/
  • optional per-platform packages that contain the native CLI and Go TUI binaries for installed users

The old React/Ink TUI has been decommissioned and is no longer part of the active package shape. LINER_TUI=ink intentionally fails with a decommissioning message.

Install

npx linersh
npm install -g linersh
liner

With no arguments, liner launches the Go TUI. CLI subcommands such as liner compile, liner share, liner import, liner project, liner sources, liner adapters, liner status, and liner setup-js pass through to the Python core. If you are using one-shot npx instead of a global install, pass subcommands through the package: npx --yes linersh@latest setup-js or npx --yes linersh@latest uninstall --yes.

Safe Project Maintenance

The installed CLI is the authority for supported Project and Source changes. Inspection and planning are write-free; apply revalidates one exact versioned Change Set and writes a durable, redacted Change Receipt.

liner project guidance <project> --format markdown
liner project inspect <project> --json
liner sources add <project> --type web --url <url> --note <note>
liner project rename <project> --name <name>

The Go TUI's Maintain project command uses the same contract. Optional Codex and Claude Maintenance Adapters are explicit CLI-delegating installations:

liner adapters inspect codex
liner adapters install codex --yes

The Maintenance Adapter is not the Project Skill, and a type: skill Source is inert reference material rather than installed instructions.

Try It Cleanly

For a regular-user smoke test without touching your real Liner workspace:

tmp=$(mktemp -d)
home="$tmp/home"
cache="$tmp/npm-cache"
projects="$tmp/projects"
mkdir -p "$home" "$cache" "$projects"

HOME="$home" npm_config_cache="$cache" LINER_DIR="$projects" npx --yes linersh@latest --version
HOME="$home" npm_config_cache="$cache" LINER_DIR="$projects" npx --yes linersh@latest

rm -rf "$tmp"

The second command opens the Go TUI. Create a test Liner Project, build the corpus with your configured OpenAI (Codex CLI) or Claude (Claude Code) runner, then run Create Operating Layer. Because HOME, the npm cache, and LINER_DIR all point inside $tmp, cleanup is just rm -rf "$tmp".

Run Locally

For normal repository testing, use the isolated launch so Projects and Settings cannot write to the production Liner library or profile:

npm --prefix packages/tui run dev:isolated

See ../../docs/development.md for explicit authenticated provider-home options and the offline runner-preferences smoke.

From the repo root:

npm --prefix packages/tui run dev

From this package:

npm run dev

Override the projects folder:

LINER_DIR=/path/to/projects node bin/liner.js

Override the Python/core binary:

LINER_BIN=/absolute/path/to/liner node bin/liner.js

Build And Test

npm run build
npm run build:go
npm run build:package
npm test

Notes:

  • build compiles the TypeScript headless runner and shared runner utilities.
  • build:go compiles ../go-tui/cmd/liner-tui into bin/liner-tui for local development.
  • build:package runs both.
  • Release packaging is verified with npm run acceptance:go -- release-smoke, which packs a local platform package plus the main linersh package and installs both into a clean consumer project.
  • npm run release:check is offline and verifies repository consistency. npm run release:check:publish additionally refuses to publish the main package when its canonical version already exists on npm.

Useful Environment Variables

  • LINER_DIR=/path/to/projects: change the projects folder.
  • LINER_BIN=/path/to/liner: force the Python/core binary.
  • LINER_GO_TUI_BIN=/path/to/liner-tui: force the Go TUI binary.
  • LINER_HEADLESS_RUNNER=/path/to/headless-runner.js: force the methodology runner script.
  • LINER_AGENT=codex|claude: override the agent selected by Liner config.
  • LINER_TUI=go: accepted for compatibility, but no longer required.

Developer Gotchas

  • Rebuild bin/liner-tui after Go changes or the npm shim may launch an older binary.
  • Rebuild dist/ after TypeScript runner changes or methodology will fail.
  • The published main package intentionally excludes bin/liner-tui; installed users get the native TUI from linersh-<platform>-<arch>.
  • If Project Health says status failed, check the resolved core. Older bundled cores may reject --no-write; the Go wrapper has a fallback, but direct node bin/liner.js status ... --no-write can still fail until platform cores are refreshed.