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

@idoa/graph-pipeline

v0.1.0

Published

A minimal CLI for running Graph subgraph build and test pipelines.

Downloads

18

Readme

Graph pipeline kit

Graph pipeline kit is a small Node.js CLI that runs a basic pipeline for The Graph subgraph projects. It checks whether the current directory looks like a subgraph project, runs graph build, optionally runs tests, reads a lightweight YAML config when present, and always prints a predictable JSON result that is easy to consume in local scripts or CI.

Requirements

  • Node.js 20+
  • npm

Install From npm

npm install -g @idoa/graph-pipeline

Or run it directly:

npx @idoa/graph-pipeline run

Local Development

npm install
npm run build
npm exec -- graph-pipeline run

Usage

Run in a subgraph project directory:

graph-pipeline run

The CLI looks for:

  • subgraph.yaml
  • graph-pipeline.yaml (optional)
  • package.json test script (optional)
  • a local graph CLI in node_modules/.bin for the build step

Behavior:

  • If subgraph.yaml is missing, output is still returned and the command does not crash.
  • If the build command fails, output still returns JSON.
  • If no test script exists, tests are marked as skipped.

Security note:

  • Run this tool only in subgraph projects you trust, because it executes local build and test commands.

Config

Create graph-pipeline.yaml to control which steps run:

pipeline:
  build: true
  test: true

If the file does not exist or cannot be parsed, defaults are used.

Output

Example output:

{
  "build": "ok",
  "tests": "passed"
}

When no subgraph project is detected:

{
  "build": "fail",
  "tests": "skipped"
}