npm/cli ? reverse-engineered prompt

Reverse engineered prompt

Build me a command line app for JavaScript projects that works like npm does.

I want to be able to install packages, remove them, update them, publish a package, and run project scripts from the terminal. It should read and write the project’s package file, use the public npm registry by default, and also let me point it at another compatible registry if needed. Make the help output friendly, and include common commands like install, init, run, exec, audit, and help.

It should work on a supported version of Node.js, run as a normal CLI tool from npm <command>, and feel reliable for real developers using it every day. If you need to check current docs or command behavior, look them up online before finishing.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab