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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@michaelnkomo/cli

v2.1.1

Published

BroCode CLI - AI coding assistant with @ file tagging and multi-language support

Readme

BroCode CLI

An AI-powered coding companion that helps you create projects, write code, and manage files.

Installation

# Install dependencies
npm install

# Build the project
npm run build

# Link globally (optional)
npm link

Usage

Running the CLI

# If linked globally
brocode

# Or run directly
npm start

Configuration

BroCode uses environment variables and a config file for configuration.

Environment Variables

Create a .env file in the project root (see .env.example):

NVIDIA_API_KEY=your_api_key_here
LLM_MODEL=meta/llama-3.1-70b-instruct
LLM_TEMP=0.3

Get your free NVIDIA API key at: https://build.nvidia.com/meta/llama-3_1-70b-instruct

Config File

You can also create ~/.brocode/config.json:

{
  "apiKey": "your_api_key_here",
  "model": "meta/llama-3.1-70b-instruct",
  "temperature": 0.3,
  "verbose": false,
  "debug": false
}

Features

BroCode can:

  • 🚀 Create complete projects in 11+ frameworks:

    • FastAPI (Python)
    • Express (Node.js)
    • Flask (Python)
    • Django (Python)
    • React (JavaScript)
    • Vue (JavaScript)
    • Next.js (React)
    • Go
    • Rust
    • TypeScript
    • Spring Boot (Java)
  • 📝 Write and edit code files

  • 📂 Manage directories and files

  • 🔍 Search and read files

  • 💬 Interactive chat interface

Example Commands

Once in the CLI:

You: create a FastAPI project called my-api

You: create a Python script to fetch data from an API

You: read the package.json file

You: list files in the current directory

You: exit

Development

# Watch mode (auto-rebuild on changes)
npm run dev

# Run tests
npm test

# Type checking
npm run typecheck

Troubleshooting

"NVIDIA API key not configured"

Make sure you have set NVIDIA_API_KEY in your .env file or ~/.brocode/config.json.

CLI not responding

Check logs at ~/.brocode/logs/ for error messages.

Permission errors on Windows

Run PowerShell as Administrator when linking globally with npm link.

Architecture

BroCode is built as a monorepo with TypeScript:

packages/
├── core/        # Core AI agent, services, and utilities
├── cli/         # Interactive CLI interface (this package)
└── test-utils/  # Testing utilities

License

MIT