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

gmana

v1.0.8

Published

A sleek, interactive, and secure CLI tool for generating and managing passwords with modern UX, strong encryption, and smart features.

Readme

gmana CLI

npm version

gmana is a Node.js CLI for generating secure passwords and memorable passphrases, with optional clipboard copy, local history, and interactive prompts.

Latest release: 1.0.8 on 2026-10-13

Installation

npm install -g gmana

Requires Node.js 18 or newer.

Commands

Generate a password

gmana gen
gmana gen --length 20
gmana gen --no-symbols
gmana gen --length 16 --extra-symbols --exclude-similar

Generate a passphrase

gmana gen --words 4
gmana gen --words 6 --separator "_"

Interactive mode

gmana gen --interactive

Batch mode

gmana gen --batch 5
gmana gen --batch 10 --out passwords.txt
gmana gen --words 4 --batch 3 --out passphrases.txt

Generation Options

-l, --length <number>      Password length
-i, --interactive          Run the interactive prompt
    --no-uppercase         Exclude uppercase letters
    --no-lowercase         Exclude lowercase letters
    --no-numbers           Exclude numbers
    --no-symbols           Exclude symbols
    --extra-symbols        Include extra symbols
    --exclude-similar      Exclude similar characters (il1Lo0O)
    --exclude-ambiguous    Exclude ambiguous characters
-w, --words <number>       Generate a passphrase with N words
    --separator <char>     Passphrase separator
    --batch <number>       Generate multiple results
    --out <file>           Write batch output to a file
-c, --copy                 Copy the generated result to the clipboard
-s, --save                 Save generated passwords to history
    --show-strength        Show strength analysis

Configuration

Configuration is stored in ~/.gmana/config.json.

gmana config --show
gmana config --set length=16
gmana config --set autocopy=true
gmana config --set savehistory=true
gmana config --set historylimit=200
gmana config --reset
gmana config

Supported --set keys:

  • length
  • autocopy
  • savehistory
  • historylimit

History

History is stored in ~/.gmana/history.json.

gmana history --list
gmana history --limit 20
gmana history --export history.json
gmana history --export history.csv
gmana history --clear
gmana history

The interactive history view lets you browse recent entries, copy a saved password, or clear history. Passwords are masked in list output.

Aliases

gmana g    # gen
gmana c    # config
gmana h    # history

Notes

  • Password generation uses crypto.randomInt for cryptographically secure randomness.
  • Clipboard copy is enabled by the gen command unless disabled with --no-copy.
  • History is only written when --save is used.

Release

To prepare a release locally:

pnpm --filter gmana release:prepare -- --bump patch --notes "Short release summary"

To publish after validation:

pnpm --filter gmana release:publish

GitHub Actions can also publish through .github/workflows/release.yml using the NPM_TOKEN repository secret.