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

tubeless

v0.1.3

Published

Typed pipeline primitives for composable data-processing workflows.

Downloads

659

Readme

Tubeless

Typed, observable data pipelines you import from TypeScript or run from a Bun CLI. It is a library, not a hosted workflow engine or a Make/npm-scripts replacement.

The first public version is 0.1.0. The API is still being proven; expect change before 1.0.

npm install tubeless

Also: pnpm add tubeless, yarn add tubeless, bun add tubeless. Library imports are ESM-only on Node.js 22+. The tubeless CLI requires Bun 1.3.14+; npx tubeless works anywhere with Bun installed and otherwise prints Bun install instructions. Linux and macOS are supported; Windows is untested. See install and runtime.

Quick start

import { createSteps, definePipeline, requireOutputs } from "tubeless";

interface ImportOptions {
  lines: readonly string[];
}

const step = createSteps<ImportOptions>();

const load = step("load", {
  run: (_inputs, context) => context.options.lines,
});

const normalize = step("normalize", {
  dependsOn: [load],
  run: ({ load: rows }) => rows.map((row) => row.trim().toLowerCase()).filter(Boolean),
});

export const ImportPipeline = definePipeline({
  id: "import",
  steps: [load, normalize],
  targets: [normalize],
  finalize: requireOutputs([normalize], ({ normalize }) => normalize),
});

const rows = await ImportPipeline.runOrThrow({ lines: [" Alpha ", "", "Beta"] });
// ["alpha", "beta"]

createSteps types domain options only. Runs accept built-in controls beside them. Use runOrThrow when failure should throw, run for the structured report, plan when nothing should execute, and toMermaid for the static graph.

Inspect, plan, or run

bunx tubeless inspect ./pipelines/my-pipeline.ts
bunx tubeless plan ./pipelines/my-pipeline.ts --target publish --explain
bunx tubeless graph ./pipelines/my-pipeline.ts --markdown
bunx tubeless run ./pipelines/my-command.ts -- --source input.json --target publish

The CLI loads TypeScript modules with Bun. inspect, plan, and graph accept a pipeline or a definePipelineCommand export. run executes only a command export; application flags go after --. history lists recorded --store runs without opening the studio. See the CLI and the local studio.

Choose the right pattern

| You need to… | Start with | | -------------------------------------------- | ------------------------------------------------------------------------- | | Run typed steps in dependency order | Sequential pipeline | | Validate external boundary values | Validated boundaries | | Preview writes safely | Dry runs and write gates | | Skip work intentionally at runtime | Conditional step | | Continue independent work after a failure | Best-effort execution | | Reuse a pipeline inside another | Child pipeline | | Run a step on another engine | Remote steps | | Run one child pipeline for many items | Fan-out and progress | | Resume long API work safely | Retry, rate limit, and checkpoint | | Watch the live TTY reporter | Live TUI | | Watch many primitives on a road-race weekend | Peloton pipeline | | Turn a pipeline into a typed script | Pipeline CLI | | Render plans and errors consistently | Human and JSON rendering | | Test deterministic execution | Cancellation and test injection | | Export lifecycle telemetry | Structured tracing | | Persist and inspect local runs | Local observability |

The recipe index explains when to use each pattern.

Next

Contributing

Pull requests are accepted for now; the maintainer set stays small. See CONTRIBUTING.md. Report vulnerabilities privately through SECURITY.md.

License

MIT