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

@json-express/context-builder

v0.1.4

Published

A cli tool to build your project context that can be uploaded to ai when chatting

Downloads

152

Readme

What is CONTEXT Builder?

CONTEXT Builder is a CLI tool that helps developers prepare their codebase as context for AI assistants. When working with AI-powered IDEs or co-pilots, your code needs to be formatted properly to be understood by AI tools. However, if you prefer to stick with your favorite code editor rather than switching to an AI-powered IDE, preparing this context manually can be tedious and time-consuming.

CONTEXT Builder solves this problem by automatically converting your codebase into a format that's optimized for AI consumption. Once prepared, you can easily upload this context to your favorite AI tool (like ChatGPT, Claude, or others) and start asking questions about your code, getting suggestions, or debugging issues—all without leaving your preferred development environment.

Installation

Install CONTEXT Builder globally using pnpm:

pnpm i -g @json-express/context-builder

Usage

Navigate to your project directory and run the tool:

cd project-dir
context-builder

The tool will process your codebase and generate the context file (project-context.txt) that you can upload to your AI assistant.

Ignoring Files

By default, CONTEXT Builder automatically respects your .gitignore file. Any files or folders ignored by Git will not be included in the generated context.

Using .contextignore

Sometimes, you might want to keep certain files in your Git repository but exclude them from the AI context (for example: large documentation files, lock files, or asset metadata that might consume too many tokens).

You can create a .contextignore file in your root directory. This file uses the same pattern syntax as .gitignore.

Example .contextignore:

# Exclude heavy documentation
/docs/legacy-manuals/

# Exclude specific files
package-lock.json
pnpm-lock.yaml

# Exclude all .svg files from context
**/*.svg

Uninstallation

To remove CONTEXT Builder from your system:

pnpm uninstall -g @json-express/context-builder