Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ntwigs/nopy
Copy your npmjs dependencies with ease ❤️🔥
https://github.com/ntwigs/nopy
bun chrome-extension npm pnpm yarn
Last synced: about 1 month ago
JSON representation
Copy your npmjs dependencies with ease ❤️🔥
- Host: GitHub
- URL: https://github.com/ntwigs/nopy
- Owner: ntwigs
- License: mit
- Created: 2022-09-15T11:25:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-23T19:34:14.000Z (about 1 year ago)
- Last Synced: 2024-04-14T07:44:39.536Z (9 months ago)
- Topics: bun, chrome-extension, npm, pnpm, yarn
- Language: TypeScript
- Homepage:
- Size: 127 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![marquee](https://user-images.githubusercontent.com/14088342/191090186-dee78d64-2455-4976-9e5d-3fd58946b36d.png)
The install options you deserve - and sometimes what you need. ✊
Get it at your local Chrome Web Store.
Nopy is also at 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](https://github.com/jshttp/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](https://chrome.google.com/webstore/detail/klmgfjdnkpnmebmikdnopdkbibelccld/) and Nopy will be up and running. The next time you visit any package at [NPM](https://www.npmjs.com/) 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](https://www.npmjs.com/), for example, [React](https://www.npmjs.com/package/react) and you'll see a bunch of install options where the copy buttons usually are.
License
Just go a head and use it - and feel free to contribute!