Copystrike / nopy

Copy your npmjs dependencies with ease โค๏ธโ€๐Ÿ”ฅ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Copy your npmjs dependencies with ease โค๏ธโ€๐Ÿ”ฅ

License:MIT License


Languages

Language:TypeScript 98.1%Language:CSS 1.9%