Multiple package managers support for npmjs.com

Latest Version

Version
0.4.1
Update
October 28, 2024
Size
17.08KiB
Developer
hideoo.dev
Category
Users
77
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
WebNavigation
See more

Npm Package Manager Extension

This extension adds support for multiple package managers to the npmjs.com registry.

Features:

- Support for multiple package managers (npm, yarn, pnpm, ni & bun).
- Display both the command to install a package as dependency or development dependency.
- Display an extra command to install TypeScript declarations for packages having external declarations.
- Use package version in install commands when visiting a specific version package page.
- Add back the ability to click on the entire command to copy it.
- Remove the layout shift of the entire page when copying a command.
- Pin the sidebar so it is always visible even when scrolling down long package descriptions.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Npm Package Manager", "description": "Multiple package managers support for npmjs.com", "version": "0.4.1", "action": { "default_popup": "popup.html", "default_title": "Npm Package Manager" }, "author": "HiDeoo", "background": { "service_worker": "sw.js" }, "content_scripts": [ { "matches": ["https://www.npmjs.com/package/*"], "js": ["loader.js"], "css": ["content.css"], "run_at": "document_start" } ], "homepage_url": "https://github.com/HiDeoo/npm-package-manager-extension", "icons": { "16": "images/icons/16.png", "32": "images/icons/32.png", "48": "images/icons/48.png", "128": "images/icons/128.png" }, "permissions": ["storage", "webNavigation"], "web_accessible_resources": [ { "matches": ["https://www.npmjs.com/*"], "resources": ["content.js", "assets/*"] } ]}
Read more

How to download and manually install Npm Package Manager extension for Chrome

Looking for a way to install Npm Package Manager extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Npm Package Manager extensions manually, this article outlines two simple methods to effortlessly install Npm Package Manager extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Npm Package Manager extension and manually install through Drag &Drop

If you ever need to manually install a Npm Package Manager extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Npm Package Manager Extension by clicking the "Download CRX" button on the website.

Look for the Npm Package Manager extension you wish to install. Go to the website and download the Npm Package Manager extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Npm Package Manager extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Npm Package Manager extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Npm Package Manager extension for Chrome and install in Developer Mode

This is another method to install Npm Package Manager extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Npm Package Manager extension file

Select and download the Npm Package Manager extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Npm Package Manager extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Npm Package Manager extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Npm Package Manager extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Npm Package Manager extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Open with Code Extension · Developer Tools 77 0 ★ 12.17KiB

icon

Github-Editors Extension · Productivity 77 2 ★ 341KiB

icon

Outline All Elements Extension · Developer Tools 77 0 ★ 31.23KiB

icon

NPM Package Search Extension · Developer Tools 77 1 ★ 6.15KiB

icon

Online GitHub Python Interpreter Extension · Developer Tools 77 0 ★ 338KiB

icon

Package installer commands Extension · Developer Tools 77 2 ★ 8.24KiB

icon

Github Package.json Enhancer Extension · Developer Tools 77 3 ★ 14.06KiB

icon

Domquest Extension · Developer Tools 77 2 ★ 32.3KiB

icon

github npm stats Extension · Developer Tools 77 4 ★ 65.86KiB

icon

NPM Files Explorer Extension · Developer Tools 77 2 ★ 472KiB

icon

My npm downloads Extension · Developer Tools 77 0 ★ 63.09KiB

icon

HTML,CSS,JS Minifier & Compressor Extension · Developer Tools 77 1 ★ 579KiB

icon

''Yarn'' on the Node Package Manager Extension · Developer Tools 77 1 ★ 40.75KiB

icon

Chocolatey Quick Installer Helper Extension · Productivity 77 0 ★ 4.68KiB

icon

NPM Downloads Extension · Developer Tools 77 1 ★ 9.77KiB

icon

npm faves Extension · Developer Tools 77 5 ★ 103KiB

icon

CanvaSpy Extension · Developer Tools 77 0 ★ 459KiB

icon

Codeflower Extension · Developer Tools 77 2 ★ 246KiB

icon

npmhub Extension · Developer Tools 77 19 ★ 77.19KiB

icon

Load Background Tabs Lazily Extension · Productivity 77 5 ★ 77.7KiB

icon

Lavaca Developer Tools Extension · Developer Tools 77 0 ★ 10.42MiB

icon

RE:DOM dev tools Extension · Developer Tools 77 1 ★ 207KiB

icon

console.sparkline Extension · Developer Tools 77 1 ★ 4.7KiB

icon

JSON RPC Chrome Viewer Extension · Developer Tools 77 14 ★ 122KiB