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

orcha-dev

v0.2.2

Published

Unix pipes for AI workflows. Define tasks and pipelines in YAML; execute with a single Go binary auto-downloaded on first run.

Readme

orcha-dev

npm version License: MIT

Unix pipes for AI workflows. Define reusable tasks and linear pipelines in one orcha.yaml file; execute them from Node, the shell, or both.

orcha-dev is a thin Node wrapper around the same single Go binary used by the Python SDK. The binary is downloaded into ~/.orcha/bin/ on first run and verified by sha256; later runs are zero-network.

Note: Linear pipelines (only) are supported meaning that when designing a pipeline, know that the output of the N-th steps is the input of the N+1-th step.

Install

npm install orcha-dev

Node 18+ is required. The first invocation downloads the engine binary that matches the package version; pin a specific tag with ORCHA_BINARY_VERSION or point at a local build with ORCHA_BINARY_PATH=/abs/path/to/orcha.

CLI

# Run a pipeline; pretty progress on stderr, final output on stdout.
npx orcha run <pipeline> [-y orcha.yaml] [-i STR | -f FILE] [--json]

# Print version.
npx orcha version

Input precedence: -i (inline string) → -f (file content) → stdin. --json swaps pretty progress for a JSON-line event stream.

Usage

orcha.yaml

Example:

tasks:
  read-article:
    type: file
    path: "{{$input}}"

  summarize:
    type: ai
    provider: openai
    prompt: "Summarize in three bullet points:\n\n{{$input}}"

  save:
    type: file
    operation: write
    path: "./summary.txt"
    content: "./results.txt"

pipelines:
  summarize-article:
    steps:
      - task: read-article
      - task: summarize
      - task: save

Defined Formats

file operations:

task:
  type: file
      operation: write/read     #read by default.
      path: "path/to/seeding/file"     
      content: "{{$input}}"     #only specified when the operation is write.

task:
  type: ai
  provider: openai/anthropic/deepseek                       #the default model will be chosen automatically.
  model:                                                    #optional if you need to specify a model.
  prompt: "Summarize in three bullet points:\n\n{{$input}}" #the prompt alongside the input is to be included.

Programmatic API

const { Orcha } = require('orcha-dev');

const orcha = await Orcha.create('./orcha.yaml');

// Stream events as the pipeline runs.
for await (const event of orcha.run('summarize-article', './article.txt')) {
  console.log(event.type, event.task, event.elapsed_ms);
}

// Or get just the final output.
const result = await orcha.runToCompletion('summarize-article', './article.txt');

TypeScript types ship with the package — import { Orcha, OrchaEvent } from 'orcha-dev' works out of the box.

Providers

Set the matching environment variable for whichever provider your YAML uses:

| Provider | Variable | |------------|------------------------| | openai | OPENAI_API_KEY | | anthropic| ANTHROPIC_API_KEY | | deepseek | DEEPSEEK_API_KEY | | custom | ORCHA_<NAME>_API_KEY |

Links

MIT licensed.