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

cruxify

v1.0.11

Published

Production Readiness Analyzer - scan any codebase for deployment readiness with security, complexity, and quality analysis

Readme

Cruxify CLI

Production Readiness Analyzer — determine if your code is ready for deployment.

  ██████╗██████╗ ██╗   ██╗██╗  ██╗██╗███████╗██╗   ██╗
 ██╔════╝██╔══██╗██║   ██║╚██╗██╔╝██║██╔════╝╚██╗ ██╔╝
 ██║     ██████╔╝██║   ██║ ╚███╔╝ ██║█████╗   ╚████╔╝
 ██║     ██╔══██╗██║   ██║ ██╔██╗ ██║██╔══╝    ╚██╔╝
 ╚██████╗██║  ██║╚██████╔╝██╔╝ ██╗██║██║        ██║
  ╚═════╝╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝╚═╝        ╚═╝

Analyze any codebase (Python, JavaScript, TypeScript, PHP, SQL, HTML, CSS) for:

  • 🔒 Security vulnerabilities (Bandit, npm audit, pip-audit)
  • 📊 Code complexity (Cyclomatic complexity, Maintainability Index)
  • 🔁 Code duplication detection
  • 🧹 Code quality (linting, style, type safety)
  • 📦 Dependency issues (CVEs, missing lockfiles)
  • 🤖 AI-powered fix suggestions (optional, via Groq)

Output: Terminal report, HTML dashboard, and PDF — all in one scan.


Installation

npm install -g cruxify

Usage

Interactive mode (recommended)

cruxify

Launches an interactive menu to choose between GitHub URL or local folder.

Non-interactive

# Analyze a GitHub repository
cruxify scan --url https://github.com/owner/repo

# Analyze a local folder
cruxify scan --path ./my-project

# Skip PDF generation (faster)
cruxify scan --path . --no-pdf

# Skip HTML report
cruxify scan --url https://github.com/owner/repo --no-html

# Custom reports directory
cruxify scan --path . --reports-dir ~/cruxify-reports

Features

8-Dimension Scoring System (Security, Maintainability, Complexity, Duplication, Dependencies, Style, Type Safety, Documentation)
Multi-Language Support (Python, JavaScript, TypeScript, PHP, SQL, HTML, CSS)
Automated Reports (Terminal + HTML + PDF)
Complexity Heatmaps (identify hot spots)
AI Suggestions (optional Groq integration)
Exit Codes for CI/CD integration
Fast (deterministic analysis, no model inference required)


What gets analyzed

Per-Language Tools

| Language | Tools | |-------------|-------------------------------| | Python | Ruff, Flake8, Bandit, Radon | | JavaScript | ESLint (inline rules) | | TypeScript | ESLint-TS, tsc --noEmit | | PHP | PHPStan | | SQL | Custom SQLLint (anti-patterns) | | HTML | Custom HTMLLint (a11y, security)| | CSS | Custom CSSLint (bad practices) |

Cross-Language Analysis

  • Cyclomatic Complexity (Radon CC)
  • Maintainability Index (Radon MI)
  • Code Duplication (jscpd)
  • Dependency Audits (pip-audit, npm audit)
  • Security Issues (.env files, HTTP resources, SQL injection patterns)

Scoring

8 weighted dimensions:

  • Security (25%)
  • Maintainability (20%)
  • Complexity (15%)
  • Duplication (10%)
  • Dependencies (10%)
  • Code Style (10%)
  • Type Safety (5%)
  • Documentation (5%)

Grades:
A ≥ 90 · B ≥ 75 · C ≥ 55 · D ≥ 35 · F < 35


Output

  • Terminal: Beautiful colored output with score, grade, dimension breakdown, and findings
  • HTML Report: Saved to ./reports/ by default (professional dashboard)
  • PDF Report: Rendered via Chromium/Puppeteer (optional)

Exit codes

| Code | Meaning | |------|---------------------------| | 0 | Success (score ≥ 35) | | 1 | Error (analysis failed) | | 2 | Critical (score < 35) |


AI Suggestions (Optional)

Set CRUXIFY_GROQ_API_KEY environment variable to get AI-powered fix recommendations:

export CRUXIFY_GROQ_API_KEY=your_key_here
cruxify scan --url https://github.com/owner/repo

Get a free API key at console.groq.com.


Examples

Analyze a public GitHub repo

cruxify scan --url https://github.com/django/django

Analyze current directory

cruxify scan --path .

Skip PDF generation (faster)

cruxify scan --path . --no-pdf

Custom output directory

cruxify scan --url https://github.com/owner/repo --reports-dir ~/my-reports

Requirements

  • Node.js ≥ 18.0.0
  • Internet connection (to reach analysis backend)

Links

  • GitHub: https://github.com/YOUR_USERNAME/Cruxify
  • Issues: https://github.com/YOUR_USERNAME/Cruxify/issues
  • Documentation: See GitHub README

License

MIT


Support

Found a bug or have a feature request? Open an issue!