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

devkits-password-generator

v1.0.3

Published

Generate cryptographically secure passwords — strong, random, customizable

Readme

devkits-password-generator

Generate cryptographically secure passwords from the command line. Strong, random, customizable.

Install

npm install -g devkits-password-generator

npm version

Usage

CLI

# Generate a 16-character password
pwdgen

# Custom length
pwdgen -l 32

# Generate 5 passwords
pwdgen -c 5

# Only lowercase + numbers
pwdgen -L -S

# Exclude similar characters (0, O, o, I, l, 1)
pwdgen -e

# Short memorable password
pwdgen -l 8 -u -n -S

Programmatic API

const { generatePassword, getCharset, calculateEntropy } = require('devkits-password-generator');

// Generate a 20-char password
const pwd = generatePassword(20);

// Custom charset
const charset = getCharset({ uppercase: true, lowercase: true, numbers: true });
const pwd = generatePassword(16, charset);

// Calculate entropy
const entropy = calculateEntropy(16, 62);  // ~95 bits

Options

| Option | Alias | Default | Description | |--------|-------|---------|-------------| | --length | -l | 16 | Password length | | --uppercase | -u | true | Include A-Z | | --no-uppercase | -L | - | Exclude uppercase | | --numbers | -n | true | Include 0-9 | | --no-numbers | -N | - | Exclude numbers | | --symbols | -s | true | Include symbols | | --no-symbols | -S | - | Exclude symbols | | --exclude-similar | -e | false | Exclude 0OoIl1 | | --count | -c | 1 | Number of passwords |

Security Features

  • Cryptographically secure — Uses Node.js crypto.randomBytes()
  • High entropy — Default 16-char with full charset = ~104 bits
  • No external dependencies — Zero supply chain risk
  • Client-side only — Passwords never leave your machine
  • No logging — Generated passwords are not stored anywhere

Password Strength Guide

| Entropy | Rating | Use Case | |---------|--------|----------| | < 28 bits | Very Weak | Not recommended | | 28-36 bits | Weak | Low-security only | | 36-60 bits | Fair | Basic accounts | | 60-80 bits | Strong | Important accounts | | 80+ bits | Very Strong | Critical accounts |

Recommendations:

  • Minimum 16 characters for important accounts
  • Use unique passwords for each service
  • Consider a password manager for storage
  • Enable 2FA wherever possible

Related Tools

🔍 Build something amazing? Check out API Monitor — simple, affordable API monitoring for indie hackers. Get alerted before your customers notice. Just $9/mo.

See Also

Support DevKits

If you find this tool useful, please consider supporting the project:

Open Collective

Become a sponsor: Open Collective - DevKits

Crypto Donations

Prefer crypto? We accept:

  • ETH (Ethereum): 0xDea4a6A20fCB44467e45Ef378972F54B22dC59db
  • USDC (ERC-20): 0xDea4a6A20fCB44467e45Ef378972F54B22dC59db

Donation Perks:

  • $5+ — Supporter Badge
  • $10+ — Pro Access (1 month)
  • $29+ — Pro Access (1 year)
  • $100+ — Lifetime Pro + Priority Support

After donating, email your transaction hash to [email protected] to claim perks.

View Crypto Donation Page

License

MIT — DevKits Team