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

password-savers-cli

v1.0.2

Published

A simple encrypted password manager CLI built with Node.js

Downloads

441

Readme

Password Savers CLI

A simple encrypted password manager CLI built with Node.js.

This project creates a local password vault protected by one master password. Service metadata stays readable for quick listing, while the actual passwords are encrypted before they are written to disk.

Features

  • Create a vault with a strong master password
  • Save or update passwords for services like GitHub, Gmail, or Netlify
  • Copy passwords to the clipboard by default instead of printing them
  • Print a password only when explicitly requested with --show
  • List saved entries without decrypting and exposing every password
  • Delete saved entries with confirmation
  • Generate strong random passwords
  • Limit repeated unlock attempts in a single CLI session
  • Store vault data in the user's home directory by default

Security

This CLI uses:

  • crypto.scrypt() with a stronger work factor to derive an encryption key
  • aes-256-gcm to encrypt and authenticate saved secrets
  • a random salt and IV for each vault state
  • in-session retry limits when the master password is wrong

The master password is not stored directly in the vault file.

Installation

Install globally to use it as a command:

npm install -g password-savers-cli
password-savers help

Commands

Initialize the vault

password-savers init

Creates a new encrypted vault and asks the user to set a strong master password.

Re-initialize the vault

password-savers reinit

Prompts for confirmation, then replaces the existing vault with a new empty vault and a new master password.

Add or update a password

password-savers add github

Prompts for:

  • service name
  • username or email
  • password

If the service already exists, the entry is updated.

Get a saved password

password-savers get github

By default, the password is copied to the clipboard and not printed to the terminal.

If you explicitly want it printed:

password-savers get github --show

List saved entries

password-savers list

Shows saved services and usernames without printing passwords.

Delete a saved entry

password-savers delete github

Prompts for confirmation before deleting the entry.

Generate a password

password-savers generate 24

Generates a random password. If no length is provided, the default length is 20.

Vault Location

By default, the vault is stored here:

~/.password-savers-cli/vault.json

You can override the location with an environment variable:

PASSWORD_SAVERS_DIR=/tmp/password-savers-test password-savers list

Notes

  • Keep your master password safe. If you forget it, the encrypted vault cannot be recovered.
  • reinit is destructive and removes all existing saved passwords after confirmation.
  • Clipboard support depends on platform tools such as pbcopy, wl-copy, xclip, xsel, clip, or powershell.