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 🙏

© 2024 – Pkg Stats / Ryan Hefner

gpt-diff-cli

v1.0.0

Published

Certainly! Below is a `README.md` for your Node.js application which can be used both through npm and Docker:

Downloads

4

Readme

Certainly! Below is a README.md for your Node.js application which can be used both through npm and Docker:


GPT Diff CLI

A command line tool to diff between various changesets using advanced algorithms. Works with npm as well as Docker.

Prerequisites

  • Node.js (for npm usage)
  • Docker (for Docker usage)

Installation & Usage

NPM:

  1. Clone the repository:
git clone https://github.com/your-username/gpt-diff-cli.git
  1. Navigate to the repository:
cd gpt-diff-cli
  1. Install the necessary packages:
npm install
  1. Run the application:
node ./src/index.mjs arg1 arg2

Docker:

  1. Build the Docker image:
docker build -t stardusted/gpt-diff-cli .
  1. Use the Docker container:
docker run -v /path/to/your/directory:/toBeDiffed stardusted/gpt-diff-cli <commit_id1> <commit_id2>

Replace /path/to/your/directory with the actual path to your repository or the directory you want to use with the CLI. Replace <commit_id1> and <commit_id2> with the actual commit IDs you want to diff.

Example:

docker run -v /Users/tian/repos/gpt-diff-cli:/toBeDiffed stardusted/gpt-diff-cli a309fc20cf85e4273fd9777df72e683ab3d13b32 6a365a532b7b6c04e86834ae21104eac677712f1

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT


Make sure to replace placeholders (like the GitHub URL or username) with your actual repository details.