BusinessAddons Logo
Chrome

Swap 'npm' with 'pnpm', 'pip' with 'pipenv', and more.

Easily swap any package manager on webpages.

Package Prefix Swapper Screenshot

Why use Package Prefix Swapper?

When following tutorials or reading documentation, you’ll often find installation commands tailored to a specific package manager like npm or pip. If your project uses pnpm, yarn, or poetry, manually translating these commands can disrupt your workflow and introduce typos.

Package Prefix Swapper eliminates this friction. With a single click, it scans the current webpage and intelligently replaces package manager prefixes in code blocks and inline code snippets with your preferred tool.

Features

  • Broad Compatibility: Supports popular JS and Python package managers.
  • Intelligent Parsing: Targets code blocks directly, ensuring regular text remains unaffected.
  • Privacy First: Runs entirely locally in your browser. No data is sent to external servers.

Stop wasting time on repetitive translations. Install Package Prefix Swapper and focus on building.

Explore Our Key Features

Discover how Package Prefix Swapper enhances your development workflow.

Automatic Prefix Detection

The extension automatically identifies package manager prefixes used on the current webpage.

One-Click Prefix Swapping

Easily swap detected prefixes with your preferred ones, with just a single click.

Swap History

Keep track of your past prefix swaps and reapply them with ease.

Dark Mode

Enjoy a clean, distraction-free experience with the built-in dark mode.

How It Works

Swap package prefixes in three simple steps.

1

Install Extension

Get the extension from the Chrome Web Store and pin it to your browser.

2

Browse Documentation

Visit any documentation or GitHub page with package installation commands.

3

Click and Swap

Open the extension popup and click your desired package manager to instantly swap the prefixes on the page.

Frequently Asked Questions

Who is Package Prefix Swapper for?

Package Prefix Swapper is designed for developers, engineers, and anyone who frequently works with multiple package managers like npm, pnpm, yarn, pipenv, and poetry.

How do I install Package Prefix Swapper?

Package Prefix Swapper is available for free on the Chrome Web Store. Simply search for 'Package Prefix Swapper' and click 'Add to Chrome'.

Does the extension have access to my data?

Any data accessed by this extension stays within the extension. It operates solely within the current tab.

Ready to automate the mundane?

Stop wasting time on repetitive tasks. Install the addon today and get your time back.