npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fpf-cli

v1.6.15

Published

Cross-platform fuzzy package finder powered by fzf

Readme

fpf-cli (fpf)

Simple fuzzy package finder for people who live in the terminal.

Search packages with fzf, preview details, and install/remove/update from one place.

Screenshot

Install

# npm
npm install -g fpf-cli

# bun
bun add -g fpf-cli

Quick Start

# Search + install (default action)
fpf ripgrep

# List installed packages
fpf -l

# Remove packages
fpf -R

# Update packages
fpf -U

By default, fpf auto-detects your package manager.

On every OS, default auto mode includes all supported detected managers. If both bun and npm are available, auto mode keeps bun and skips npm.

For no-query startup (fpf), each manager uses a lighter default query and per-manager result cap to keep startup responsive.

Live reload is enabled by default, with a minimum query length and debounce to reduce lag while typing.

Supported Managers

  • Linux: apt, dnf, pacman, zypper, emerge
  • Windows: winget, choco, scoop
  • Cross-platform: snap, flatpak
  • Dev: npm, bun
  • macOS: brew

Manager Override Flags

  • -ap apt
  • -dn dnf
  • -pm pacman
  • -zy zypper
  • -em emerge
  • -br brew
  • -wg winget
  • -ch choco
  • -sc scoop
  • -sn snap
  • -fp flatpak
  • -np npm
  • -bn bun
  • -m, --manager <name> full manager name

Common Options

  • -l, --list-installed list installed packages
  • -R, --remove remove selected packages
  • -U, --update run update/upgrade flow
  • -v, --version print version and exit
  • -h, --help show help

Keybinds

  • ctrl-h help in preview
  • ctrl-k keybinds in preview
  • ctrl-/ toggle preview
  • ctrl-n next selected item
  • ctrl-b previous selected item

Installed packages are marked with * in the result list.

Notes

  • Requires: bash + fzf
  • If fzf is missing, fpf auto-installs it using a compatible detected manager.
  • Root managers (apt, dnf, pacman, zypper, emerge, snap) use sudo when needed.
  • FPF_DYNAMIC_RELOAD: always (default), single, or never
  • FPF_RELOAD_MIN_CHARS: minimum query length before live reload (default 2)
  • FPF_RELOAD_DEBOUNCE: reload debounce seconds (default 0.12)
  • FPF_DISABLE_INSTALLED_CACHE=1 disables installed-package marker cache