/nopy

Copy your npmjs dependencies with ease ❤️‍🔥

Primary LanguageTypeScriptMIT LicenseMIT

marquee

The install options you deserve - and sometimes what you need. ✊
Get it at your local Chrome Web Store.

users badge rating badge version badge


Nopy is also at Product Hunt!💖

Nopy - Copy your NPMJS dependencies with ease | Product Hunt



Nopy - copy your npmjs dependencies with ease ❤️‍🔥

For far too long, the npm registry has only shown a "copy to install" button which favors their package manager. And even though that kind of makes sense, it could sometimes be a bit annoying. 🫂

With this teeny tiny little extension - you'll be able to copy your dependencies from other popular package managers, such as Yarn or Bun install. Is the package something you wouldn't like to have in your dependencies? Fret not! Nopy also gives you the option to copy the install commando for development dependencies. 👌

Why should I use this? 🙋‍♂️

The world is a dark and scary place - especially the internet, and NPM is no exception. It's super simple to typosquat or dependency confuse at NPM, which makes it even easier to accidentally install malware and malicious code. For example - http-errors, a great package. Lots of downloads (51,000,000 weekly downloads), and lots of happy faces (1,300 stars). If you accidentally omit the h in the beginning and install the most suspicious package ttp-errors, you're going to have a bad time.

Nopy makes it easy to just copy the (dev)dependencies and install the package - avoiding user errors that result in accidentally installing malicious software that grabs all of your data and violates your hardware. 🙏

How do I use Nopy? 🤔

It's super simple. All you'll have to do is install the extension from the Chrome Web Store and Nopy will be up and running. The next time you visit any package at NPM you'll be greeted with lots of install options.

Nopy takes all your favorite package managers and slams them right into NPM - to make it as easy as possible to install dependencies. The currently supported options are the following:

  • NPM 📮
  • Yarn 😻
  • Bun 🥚
  • Pnpm 📁

It's super easy to add more options. Just fork the repo, add what you're missing to the config located in /src/config.ts - and fire off that beauty edit of yours as a PR. 🙏

Show me the beauty 💅

Install the extension and visit any package at NPM, for example, React and you'll see a bunch of install options where the copy buttons usually are.

nopy demo

License

Just go a head and use it - and feel free to contribute!

Licence Apache