javascript-package-delegator the-code-fixer-23
winget install --id=the-code-fixer-23.javascript-package-delegator -e
A CLI for executing JavaScript package manager commands based on lock files. Supports npm, yarn, pnpm, bun, and deno.
JavaScript Package Delegator (jpd) is a CLI tool designed to simplify JavaScript package management by executing commands based on detected lock files. It automates the identification of package managers such as npm, Yarn, pnpm, Bun, or Deno, enabling seamless command delegation across projects.
Key Features:
- Automatic Package Manager Detection: Identifies the active package manager using lock files like package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb, deno.json, or deno.lock.
- Unified Command Set: Provides a consistent CLI for common tasks such as installing dependencies (
jpd install
), running scripts (jpd run
), executing packages (jpd exec
), updating packages (jpd update
), and performing clean installations (jpd clean-install
). - Interactive Mode: Supports interactive package selection for installation, script execution, and uninstallation.
- Cross-Platform Support: Works across operating systems and integrates with tools like Volta for Node.js version management.
- Shell Completion: Offers tab-completion scripts for popular shells.
Audience & Benefit: Ideal for developers managing multiple JavaScript projects or collaborating in teams using different package managers. It streamlines workflows by eliminating the need to switch commands, reducing cognitive overhead and boosting productivity.