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

codepal

v0.2.0

Published

CodePal is a command line tool with a chat interface that helps developers write code. It is built on top of GPT-3 and ChatGPT (which is a work in progress), and provides a convenient and intuitive way for developers to write code quickly and efficiently.

Readme

CodePal

CodePal is a command line tool with a chat interface that helps developers write code. It is built on top of GPT-3 and ChatGPT (which is a work in progress), and provides a convenient and intuitive way for developers to write code quickly and efficiently.

Features

  • Chat-based interface that allows for natural, conversational code writing
  • Built on top of GPT-3 and ChatGPT (soon), providing state-of-the-art natural language processing capabilities
  • Easy to use and customize to your personal coding style

Installation

To install CodePal, simply run the following command:

npm install codepal

To install it globally use:

npm install -g codepal

Usage

Before using CodePal, you will need to set up an environment variable with your OpenAI credentials. This can be done by adding the following line to a .env file in your project directory:

OPENAI_API_KEY=YOUR_API_KEY_HERE

Once you've set up the environment variable, you can use CodePal by navigating to the directory where you want to write your code and running the following command:

npx codepal

This will start the CodePal chat interface, where you can write your code using natural language. CodePal will save your chat history in a directory called .codepal in your current working folder. To continue a previous chat session, you can provide the path to the chat history file, like this:

npx codepal -s .codepal/b1a7e548-da06-48be-9844-50f9b9c9436b.md

Alternatively, you can just provide the filename (without the path), like this:

npx codepal -s b1a7e548-da06-48be-9844-50f9b9c9436b

In this case, CodePal will automatically search for the chat history file in the .codepal directory of your current working folder.

The command line tool can also be executed directly with npx, which is a package runner for npm packages.

Additionally, there are several flags available that can be used to customize your experience when using CodePal.

| Flag | Description | | --- | --- | | -i | Starts CodePal in interactive mode | | -s | Resumes a previous chat session | | -t | Starts with a pre-defined template | | -f | Pre prompt with the contents of a file |

Examples

Examples of using CodePal can be found in the .codepal directory of your project. These examples show different ways to use CodePal to write code, and can serve as a useful reference for getting started with the tool.

License

CodePal is licensed under the MIT license.