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

parallel-stack

v1.0.0

Published

Parallel Stack is a terminal-first Node.js CLI for launching multiple JavaScript package tasks in parallel with a focused, real-time dashboard. It is designed for monorepos and multi-package codebases where teams need reliable parallel execution and clear

Downloads

157

Readme

Parallel Stack

Parallel Stack is a terminal-first Node.js CLI for launching multiple JavaScript package tasks in parallel with a focused, real-time dashboard. It is designed for monorepos and multi-package codebases where teams need reliable parallel execution and clear process visibility.

Overview

The tool recursively discovers package.json files, lets you select which packages to run, resolves a runnable target for each package, and starts all selected tasks concurrently.

For each selected package, Parallel Stack uses this strategy:

  1. Attempt to run the package main entry file.
  2. If no runnable main file is found, prompt for an npm script.
  3. Stream outputs into a consolidated dashboard.

Core Features

  • Interactive package discovery and selection
  • Parallel execution from one terminal interface
  • Configured selection cap for safer local resource usage
  • Automatic main file resolution with common fallback locations
  • Script fallback mode when no runnable entry point exists
  • Live dashboard with status indicators and focused logs
  • Keyboard navigation between active task streams
  • Graceful multi-process shutdown with Ctrl+C
  • Cross-platform npm command handling

How It Works

1. Workspace Scan

The CLI recursively scans the current working directory for package.json files.

Ignored directories:

  • node_modules
  • .git
  • .run-parallel-cache

2. Package Selection

You select packages with an interactive checkbox prompt.

  • Minimum selection: 1 package
  • Maximum selection: 4 packages

3. Task Resolution

For each selected package:

  • If a runnable entry file is found, the tool launches it with the current Node executable.
  • If no entry file is found, the tool prompts you to choose from available npm scripts.

4. Parallel Runtime

Selected tasks are started in parallel and continuously rendered in a dashboard that includes:

  • Task name
  • Runtime status
  • Active log view for the selected task

Main File Resolution Order

When resolving a runnable entry point, the CLI checks in this order:

  1. package.json main
  2. index.js
  3. src/index.js
  4. main.js
  5. app.js
  6. server.js
  7. dist/index.js

If none are present, the CLI falls back to npm script selection.

Dashboard Controls

  • Up Arrow: Switch focus to previous task log stream
  • Down Arrow: Switch focus to next task log stream
  • Ctrl+C: Terminate all running tasks and exit

Installation

Global Installation

npm install -g parallel-stack

Local Installation

npm install parallel-stack

Usage

From the workspace root you want to scan:

parallel-stack

If installed locally:

npx parallel-stack

Requirements

  • Node.js 18 or newer recommended
  • npm
  • ANSI-compatible terminal for dashboard rendering

Limitations

  • Maximum of 4 concurrently selected packages per run
  • Script selection fallback is interactive by design
  • No detached or daemon mode in current version
  • NO INPUT ACCEPTED FOR THE RUNNING SCRIPTS. (WIP)