Read the label before you install.

nps shows a package's version, author, source, dependency count, and health score, then asks before your package manager installs it.

npm install --global @hort/nps
~/my-projectsample output

$

Try a different package

Adding a dependency takes one line. Deciding whether it belongs takes a dozen browser tabs. nps puts the useful facts in your terminal, right before the install.

Why nps exists

Everything on the label, before anything installs.

nps gathers public details into one screen, so the decision doesn't depend on how familiar a package name sounds.

Commands and options

See how much comes with it

--all

Direct, transitive, and total dependency counts, so a one-line install doesn't surprise you with four hundred more.

One score, four parts

Snyk's health score out of 100, broken into what it's made of when the data is available.

Look without touching anything

--dry-run

Get the full review and stop there. Nothing is installed and your project files stay as they are.

$ nps install ui-kit-pro --dry-run

Showing package information only.

✓ Nothing was installed.

Review several at once

Install more than one package and nps lines them up as compact rows, so you can compare before you confirm.

  • quick-slug92/100
  • ui-kit-pro71/100
  • old-parser38/100

A signal, not a verdict

A low score is a reason to look closer, not an automatic block. A good score is not a guarantee. You decide.

Need the facts in a script? Add --json for machine-readable output.

Keep the package manager you already use.

nps checks your lockfiles and packageManager field, then hands the install to npm, pnpm, bun, or yarn. No lockfile migration, no new workflow.

Your project haspnpm-lock.yaml
You run$ nps install express
After you confirm, nps runs$ pnpm add express

Using a different manager than the lockfile suggests? Add --pm pnpm.

  1. 1

    Install nps once

    npm install --global @hort/nps
  2. 2

    Look at a package

    nps install express --dry-run
  3. 3

    Decide to install

    nps install express

Look first. Install second.

Setup is one command. Nothing changes in your project until you say yes.

npm install --global @hort/nps