Top Marks JavaScript Package Manager

If you like what we do, then a sponsorship, or one time donation would mean the world!

Why not join the discord community for devs everywhere:

Like it?
Leave a review
(please)
Something wrong?
Report an issue
Browse, install, update and remove JavaScript dependencies across every package.json in your
workspace, for npm, pnpm, Yarn and Bun projects side by side.
Project links
[!IMPORTANT]
This extension is in preview. Review package changes in source control before committing them, and
report problems through GitHub Issues.
Features
- Installed lists direct dependencies grouped by package across projects.
- Updates, Vulnerable and Consolidate show newer versions, known advisories and packages
declared at different versions.
- Browse searches the npm registry and installs into the projects you choose, as a dependency,
dev dependency or optional dependency.
- Changes through the project's own package manager (npm, pnpm, Yarn or Bun), only in a
workspace you trust.
- Sources lists the registries your
.npmrc configures, and adds or removes them.
- Readable in every built-in theme, with the layout and controls the other managers share.
The user guide describes each tab and every rule in full.
Getting started
- Install this extension. The Top Marks Package Managers container in the Activity Bar comes
with it.
- Open a folder that holds a
package.json, and open JavaScript Package Manager in that
container.
- Browse your packages and their updates straight away. Changes, a workspace
.npmrc and your
registry credentials wait until you trust the workspace.
- Install, update or remove a package: the view runs the project's own package manager for you.
Requirements
- VS Code 1.116 or later. An older VS Code does not load the extension: it says the extension is
not compatible and names the version it requires.
- Changes need the project's package manager (npm, pnpm, Yarn or Bun) on your
PATH outside the
workspace, or set in the settings below.
Settings
| Setting |
Default |
What it does |
topMarksJavaScriptPackageManager.defaultPackageManager |
"npm" |
The package manager (npm, pnpm, yarn or bun) for a project with no packageManager field and no lockfile |
topMarksJavaScriptPackageManager.npmPath |
"" |
The npm program: an absolute path, or a command name on the PATH. Empty uses npm |
topMarksJavaScriptPackageManager.pnpmPath |
"" |
The pnpm program: an absolute path, or a command name on the PATH. Empty uses pnpm |
topMarksJavaScriptPackageManager.yarnPath |
"" |
The Yarn program: an absolute path, or a command name on the PATH. Empty uses yarn |
topMarksJavaScriptPackageManager.bunPath |
"" |
The Bun program: an absolute path, or a command name on the PATH. Empty uses bun |
The four program paths are machine settings, read from your own settings only. A workspace cannot
say where a manager's program is, but it does choose which manager runs, so set the path for every
manager you have installed. yarnPath names the Yarn program, not the yarnPath of a project's
.yarnrc.yml. If a program on your PATH is a Corepack or version-manager shim, set its path
setting to the real program.
Private registries
Registries and credentials come from your .npmrc files, as npm reads them. A credential is sent
only to the host and path it names, and none is sent until you trust the workspace: a package a
private registry hides from strangers says to trust the folder to look it up. A workspace .npmrc
is read only once you trust the workspace.
Private registries and credentials
in the user guide has the details, including adding and removing a registry.
Part of Top Marks Package Managers
This extension is one of a family of package managers for VS Code that share a layout and a home in
the Top Marks Package Managers Activity Bar container. See the suite overview
for the rest of the family:
Licence
Copyright (c) 2026 Top Marks Development Limited. Licensed under
GNU Affero General Public License v3.0 only.
The view's icons are Codicons by Microsoft, licensed
under CC BY 4.0; the licence ships with the font in
media/codicons/.