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

autocoder

v1.0.0

Published

An automated coding interface that solves programming prompts within the context of your actual project's source tree, using ChatGPT.

Readme

💻 Autocoder

Warning Right now, the current prompt sometimes returns incorrectly formatted data that does not adhere to the protocol when used with the gpt-3.5-turbo model. Use gpt-4 if you have access to the API.

What is autocoder

Autocoder is a CLI utility that connects to OpenAI's ChatGPT, sends it the current project structure so the AI has some context and then listens for prompts for programming requirements from the user. The AI sends operations to the user's computer through the CLI and they're being executed, modifying the source code directly.

The AI is able to create, update and delete source files. It's also able to read files in case it needs more context to solve the issue. It's also able to execute shell scripts (seeking approval from the user first)

Example use:

Call the cli using the following command. Make sure to include an OpenAI key you can get here.

npx autocoder --key <api-key>

Alternatively, the API key can be inserted into the OPENAI_API_KEY env variable, in which case, you don't have to include the --key flag.

💻 Autocoder CLI started in /home/user/autocoder
Ignoring folders: node_modules
🌳 Sending project tree to ChatGPT
💻 Project was analyzed as Node.js
Enter your programming requirement (e.g. 'create a new header react component')
>make a utils function to calculate fibonnacis number

🚀 Autocode wants to execute the following command: mkdir -p ./utils? (y/n)
>y
Command executed successfully.

✏ Creating file ./utils/fibonnaci.js

Done.

Protocol

The initial prompt tells ChatGPT to only answer in a JSON manner as if talking to an API. The first message sent to ChatGPT is the project structure, from which it infers the project type (for contextual purposes). It then responds to the prompt request by issuing commands in a specific JSON format which the CLI then executes.

Example:

Protocol diagram