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

@dinakars777/neuro-forge

v1.1.0

Published

The ultimate AI Dev Context Compressor. Instantly gather, compress, and copy your working files to the clipboard.

Readme

neuro-forge 🧠🔨

npm version npm downloads License: MIT

The Ultimate AI Context Compressor. Mind-meld your codebase with LLMs instantly.

When you hit a bug spanning 5 different files, you manually cat or copy-paste each one into Claude or ChatGPT. That's tedious, slow, and wastes tokens on boilerplate. neuro-forge fixes this — one command compresses your active Git context into a single optimized Markdown block and injects it straight into your clipboard.

Features

  • 🧠 Analyzes your active Git tree to find exactly what you're working on
  • 📊 Real token counting — shows exact token count using GPT-4 tokenizer
  • ⚠️ Context limit warnings — alerts when you exceed GPT-4 or Claude limits
  • ✂️ Strips dead weight (empty lines, massive breaks) to save tokens
  • 📋 Injects the result directly into your OS clipboard
  • 🎯 Target specific files/folders — bypass Git and pack exactly what you want
  • 🕐 Time-based selection — grab files changed since "2 days ago" or "last Monday"
  • 💬 Append custom prompts — include your question in the same payload
  • 📁 Output to file — write to a file instead of clipboard
  • ⚡ Skips node_modules, .gitignore paths, locks, and binary files
  • 🖥️ Works on macOS, Windows, and Linux

Quick Start

npx @dinakars777/neuro-forge compress

Or install globally:

npm install -g @dinakars777/neuro-forge
cd my-project
forge compress

Advanced Usage

Target specific files or folders

forge compress --files src/components/Auth src/api/users.ts

Get files changed in the last few days

forge compress --since "2 days ago"
forge compress --since "last Monday"

Include a custom prompt

forge compress --prompt "Find the bug causing the null pointer exception"

The prompt will be appended to the context, so you can paste everything in one shot.

Write to a file instead of clipboard

forge compress --out context.md

Combine options

forge compress --since "3 days ago" --prompt "Review this feature" --out review.md

How It Works

  1. Runs git diff --name-only and git ls-files to find your active context (or uses --since/--files if specified)
  2. Strips noise and bundles file contents into a clean Markdown block:
    ## File: src/components/Button.tsx
    // ...content...
  3. Calculates exact token count using GPT-4 tokenizer
  4. Warns you if you're exceeding context limits (32K for GPT-4 Turbo, 128K for Claude)
  5. Copies the entire payload to your clipboard — just Cmd+V into your LLM

Options

| Flag | Description | Example | |---|---|---| | --since <time> | Get files changed since a specific time | --since "2 days ago" | | --files <paths...> | Target specific files or folders | --files src/auth src/db/schema.ts | | --prompt <text> | Append a custom prompt to the context | --prompt "Explain this code" | | --out <file> | Write output to a file instead of clipboard | --out context.md |

Tech Stack

| Package | Purpose | |---|---| | execa | Fast Git command execution | | clipboardy | Cross-platform clipboard access | | js-tiktoken | Accurate GPT-4 token counting | | @clack/prompts | Beautiful CLI UI | | TypeScript | Type-safe implementation |

Why neuro-forge?

Unlike generic repo packers, neuro-forge is laser-focused on the active development workflow:

  • Zero config — just run forge compress and it figures out what's relevant
  • Token awareness — shows exact counts and warns about context limits
  • Workflow integration — clipboard-first, prompt appending, time-based selection
  • Smart defaults — targets what you're working on right now, not the entire repo

License

MIT