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

bitwarden-cli-bio

v1.2.0

Published

A CLI wrapper for Bitwarden that adds biometric unlock support via the Desktop app

Readme

bitwarden-cli-bio

Unlock your Bitwarden CLI vault with biometrics (Touch ID, Windows Hello, Linux Polkit) instead of typing your master password. Again. And again.

# before: ugh
bw get password github
? Master password: [type your 30-character password]

# after: nice
bwbio get password github
# [Touch ID prompt] → done

How?

bwbio talks to the Bitwarden Desktop app over IPC — the same protocol the browser extension uses — to unlock your vault with biometrics. Then it hands off to the official bw CLI with the session key. You still need bw installed; bwbio just handles the unlock part.

┌─────────────────┐         ┌─────────────────┐         ┌─────────────────┐
│                 │         │    Bitwarden    │         │   Touch ID /    │
│      bwbio      │   IPC   │    Desktop      │  System │  Windows Hello  │
│                 │ ◄─────► │    App          │ ◄─────► │  Linux Polkit   │
└─────────────────┘         └─────────────────┘         └─────────────────┘
        │
        │ delegates (with BW_SESSION)
        ▼
┌─────────────────┐
│   Official bw   │
│      CLI        │
└─────────────────┘

If biometrics fail for any reason (Desktop app closed, prompt cancelled, etc.), it falls back to the regular password prompt. It never blocks you.

Setup

You'll need:

  • Bitwarden Desktop app with biometrics enabled + "Allow browser integration" on
  • Node.js >= 22
  • Official bw CLI in your PATH

Install:

npm install -g bitwarden-cli-bio

Usage

# The magic: alias it and forget about it
alias bw=bwbio
bw get password github        # Touch ID, done
bw list items --search email  # still Touch ID, still done

# Or use it directly
bwbio get password github

# For scripts — get a session key
eval $(bwbio unlock)

If BW_SESSION is already set, bwbio stays out of the way and passes everything straight to bw.

Commands that skip biometrics

Some commands don't need an unlocked vault and go directly to bw:

login, logout, lock, config, update, completion, status, serve
--help / -h, --version / -v

Everything else triggers biometric unlock if the vault is locked.

Environment variables

| Variable | Description | |----------|-------------| | BW_SESSION | Already set? bwbio passes through to bw directly | | BW_QUIET | Set to true to suppress all biometric-related messages | | BW_NOINTERACTION | Set to true to skip biometric unlock (requires user interaction) | | BWBIO_VERBOSE | Set to true for verbose logging | | BWBIO_DEBUG | Set to true for raw IPC message dumps | | BWBIO_IPC_SOCKET_PATH | Override the IPC socket path (advanced) |

Platforms

  • macOS — Touch ID (including App Store builds) — tested
  • Windows — Windows Hello — should work, not yet tested
  • Linux — Polkit — should work, not yet tested

The IPC protocol is the same across platforms. If you try Windows or Linux, please open an issue and let us know how it goes!

Supply chain trust

Every npm release is automatically built and published from CI via semantic-release, with npm provenance enabled. This means:

  • No human runs npm publish — releases come directly from GitHub Actions
  • Each package on npm links back to the exact source commit and CI run that produced it
  • You can verify this on the npm package page (look for the "Provenance" badge)

Background

This should really be a feature of the official CLI. A PR was proposed but was closed — the Bitwarden team wants to wait until they have a proper IPC framework. This wrapper fills the gap in the meantime using the same IPC code from that PR.

License

MIT