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

greenlight-cli

v1.0.4

Published

A CLI tool for running preflight checks smartly and efficiently.

Readme

🟢 GreenLight CLI

Smart preflight checker for lint, build, test, and component validation — built for speed and precision.

Greenlight showcase

✨ Features

  • ✅ Runs lint, build, unit tests, and component tests smartly
  • 📂 Detects impacted files based on Git diffs
  • 🚀 Optimized for CI and pre-push hooks
  • 📊 Generates markdown reports
  • 🧠 Smart targeting of Cypress component tests
  • 🔐 No org needed — works for solo and team developers

📦 Installation

npm install -g greenlight

🚀 Usage

Run all preflight checks:

greenlight --smart

Only run specific checks:

greenlight --only lint  
greenlight --only build  
greenlight --only test  
greenlight --only component

Multiple:

greenlight --only lint,test

💡 Example Workflow

Add to a Husky pre-push hook:

#!/bin/sh  
# Return early if we're in Jenkins  
[ -n "$JENKINS_URL" ] && exit 0

. "$(dirname "$0")/_/husky.sh"

# Redirect stdout/stderr for Windows compatibility  
if [ -t 2 ]; then  
  exec >/dev/tty 2>&1  
fi

echo "🟢 Running GreenLight Smart Pre-Push Checks..."

# Run greenlight with smart detection  
npx greenlight --smart --secure --report

STATUS=$?  
if [ $STATUS -ne 0 ]; then  
  echo "🔴 GreenLight check failed. Push aborted."  
  exit 1  
fi

echo "✅ All pre-push checks passed. Proceeding with push."  
exit 0

📁 Project Structure

greenlight/  
├── bin/  
│   └── greenlight.js          # CLI entry  
├── core/  
│   ├── dependencyGraph.js  
│   ├── impactAnalyzer.js  
│   ├── mdReportGenerator.js  
│   ├── reporter.js  
│   ├── runChecks.js  
│   ├── securityChecks.js  
│   └── updateCypressTargets.js  
└── package.json

**🙌 Note **

This project is maintained by ShadowSlayer03. Please feel free to open a new issue or submit a pull request on the repository. For direct inquiries, you can reach out at [email protected].

If you find this tool helpful, please consider giving it a star on GitHub!