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

autochub-context-hub

v1.0.0

Published

Lightweight, offline-first CLI to detect and fix deprecated API calls using in-memory graph analysis and Andrew Ng's Context Hub.

Readme

Auto-CHUB CLI 🚀

Auto-CHUB is an offline-first, high-performance CLI tool designed to detect and fix deprecated API calls in your codebase. It uses in-memory graph analysis (graphology) to perform deep call-graph propagation—finding not just direct calls, but also indirect usages of deprecated methods.

Powered by Andrew Ng's Context Hub (chub), it pulls real-time migration documentation to ensure your fixes are always up to date.


Key Features

  • In-Memory Graph Engine: Zero infrastructure (no Docker/Database needed). Fast, local-only graph analysis.
  • Deep Propagation: Detects functions that transitively call deprecated APIs.
  • Context Hub Integration: Automatic searching of chub for the latest documentation and migration guides.
  • Multi-Language Support: Robust parsing for TypeScript/JavaScript (via AST) and regex-based scanning for Python, Go, Java, and C#.
  • Clean Reports: Output findings in Table, JSON, or Markdown formats.

Quick Start

Installation

Install globally via npm:

npm install -g autochub-context-hub

1. Initialize

Create a .autochub.json config in your project root:

autochub init

2. Analyze

Scan your project for deprecated APIs. Use --with-graph for deep analysis and --use-chub for documentation enrichment.

autochub analyze . --with-graph --use-chub

3. Sync Rules

Pull the latest migration hints and rules from Andrew Ng's Context Hub:

autochub sync --chub

Commands

| Command | Description | | :--- | :--- | | analyze [path] | Scan project for deprecated code. | | fix [path] | Apply safe automatic replacements. | | report [path] | Generate a formal migration report (Markdown/JSON/CSV). | | rules | List all 30+ built-in deprecation patterns. | | sync | Update your rules from remote sources or Context Hub. | | init | Setup the project configuration. |


Why Auto-CHUB?

Traditional linters only find direct calls. Auto-CHUB builds a full call-graph of your code, allowing it to see that function A is risky because it calls function B, which eventually hits a deprecated openai or react method.


License

MIT © [Auto-CHUB Team]