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

lanes-engine

v2.1.0

Published

πŸ§™ Lanes Engine: Terminal-native, 15-lane parallel distributed mail execution engine (v2.0 β€” scheduler, rate-limiter, config, reports)

Readme

πŸ§™ LANES-ENGINE β€” Terminal-Native Distributed Execution Engine (v1.2.0)

lanes-engine is a CLI-based, high-throughput, 15-lane parallel mail delivery engine. It splits massive recipient queues into 15 independent workers, executing jobs in concurrent batches of 20 with dynamic load balancing, checkpoint-based pauses, live CLI dashboard metrics, and non-interactive failure retry via resend --failed-only.


🎨 Visual Console Aesthetic

    ✦  ·  ✧  ·  ✦  ·  ✧  ·  ✦
   ╔══════════════════════════════════════════════════════════════╗
   β•‘  β–ˆβ–ˆβ•—      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—                 β•‘
   β•‘  β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•                 β•‘
   β•‘  β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—                 β•‘
   β•‘  β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β•šβ•β•β•β•β–ˆβ–ˆβ•‘                 β•‘
   β•‘  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘                 β•‘
   β•‘  β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•                 β•‘
   β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
       "We route the mail through chaos"
    ✧  ·  ✦  ·  ✧  ·  ✦  ·  ✧
  • 24-bit gradient banner (cyan β†’ magenta, line-by-line)
  • Typewriter banner animation on cold start
  • Braille spinner during session load + connection pre-warm
  • Hooded wizard ASCII mascot drawn at start of every command
  • Per-lane live status glyphs (◐ sending, ● done, β—‹ idle)
  • Confetti burst when the campaign finishes

πŸš€ Core Features

  1. 15 Parallel Sending Lanes: Distributes lists equally using a deterministic round-robin queue.
  2. File-Driven Input: Zero database requirements. Just drop email.txt and senders.csv.
  3. Live Dashboard Metrics: Gradient progress bar, per-lane glyphs, processing speed, failure count.
  4. Auto-Retry (resend --failed-only): After any run, the engine writes lanes-session.json (template + recipients). Re-run failed emails non-interactively with one command.
  5. Fast Cold Start: Backend connection pre-warmed in parallel with file parsing; heavy CSS inliner is lazy-loaded only when HTML mode is enabled.
  6. No Web Bloat: Strictly a CLI engine built for speed and integration into external services.

πŸ“ Input Format Requirements

1. email.txt

Place this in your working directory. Use Subject: as the first line header. Supports template rendering via {{placeholder}}:

Subject: Welcome {{name}} to Scholarly!

Hello {{name}},

Your journey through the lanes begins now.

β€” MQ Team

2. senders.csv

Contains the recipient email list and fields for templating:

email,name
[email protected],Alex
[email protected],Sara
[email protected],John

βš™οΈ CLI Installation & Commands

Install globally via npm:

npm install -g lanes-engine

1. Initialize Templates

Create initial email.txt and senders.csv mock templates in your current directory:

lanes-engine init

2. Run Campaign Processing

Parse the local templates and start the 15 parallel workers:

lanes-engine send

3. Check Latest Summary

Read the final log report from the latest run:

lanes-engine status

4. Open Detailed Performance Breakdown

Displays per-lane success/error counts and detailed failure stream error messages:

lanes-engine report

5. Auto-Resend Failed Emails (Non-Interactive)

Re-runs only the recipients that failed in the most recent session, using the saved lanes-session.json. No prompts, no interactive recycle loop:

lanes-engine resend --failed-only

You can chain --no-banner to skip the startup animation in CI/scripted environments:

lanes-engine resend --failed-only --no-banner

🧠 Code Architecture

The project structure is organized cleanly for packaging and extensibility:

lanes-engine/
 β”œβ”€β”€ bin/
 β”‚    └── cli.js           # CLI routing and command arguments
 β”œβ”€β”€ core/
 β”‚    β”œβ”€β”€ engine.js        # Main core workflow orchestrator
 β”‚    β”œβ”€β”€ lanes.js         # Gmail/API parallel lane workers (batch size 20) + prewarm
 β”‚    β”œβ”€β”€ queue.js         # Round-robin job partitioning builder
 β”‚    β”œβ”€β”€ parser.js        # CSV & placeholder template parses
 β”‚    β”œβ”€β”€ reporter.js      # Save campaign logs + session state
 β”‚    β”œβ”€β”€ resend.js        # Non-interactive resend of failed recipients
 β”‚    └── retry.js         # Console failure prompt & queue recycling
 β”œβ”€β”€ ui/
 β”‚    β”œβ”€β”€ cli-progress.js  # Live dashboard with gradient progress bar
 β”‚    └── cli-theme.js     # Colors, gradient banner, mascot, animations

πŸ“„ License

MIT Β© Lanes Wizard