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 🙏

© 2024 – Pkg Stats / Ryan Hefner

passwordx

v1.2.0

Published

Use the cli to generate strong passwords or add them to nodejs projects

Downloads

7

Readme

Why passwordx?

Now days, everyone want to generate secure password, but if we go on internet it's hard to find a website that generate password but also does not collect data from you. You can always trust browsers like edge, chrome etc. they generate passwords for only forms. so we came up with idea that we will provide a tool. that you can use in your projects for random secure password generate with customized options. you can also install passwordx globally using npm install -g passwordx then you can use in your command line interface (cmd) everywhere to get a secure token or password for personal use, without worry too much. This is open source project so you can always check out our source code to feel secure about passwordx.

Installation

Direct Run

npx passwordx@latest

For project

npm install passwordx or yarn add passwordx

Global command

npm install -g passwordx or yarn global add passwordx

Example for projects

import passwordx from "passwordx";

// without customize it wil generate combination of [a-zA-Z0-9] with length of 16
const securePass = passwordx();
console.log(securePass);

Example for command line usage

  • make sure you have installed passwordx using npm i -g passwordx
passwordx -l 32

// output
password: 5w9hfBjtttQFzYM27WKtxVxCJhvDDwpZ4J5jD4cCKAfbTgHbaPbc5hsd358k5X9J

// if you wish to generate multiple passwords than just pass -c

passwordx -l 32 -c 4
// output
password 1: sd358k55w9hfBjtttQFzYM27WKtxVxCJhvDDwpZ4J5jD4cCKAfbTgHbaPbc5hX9J
password 2: K7cBxYsadta5ra5tYhRpqzugM7FsfHjZbMseHCw6CNBu4HKPmrUsU5Bs5Neg9JP4
password 3: xGQzvjTdJbp7skAFLswDzJyuNEVbJHk5UMNawAqbLeh75LKVdSuLH6UWKN4Ugvrk
password 4: zkg2Zk9kFaPwPQCHGrf2Q4s33L3XXJb4Fyq89YgbPJuMrTbqRYcaBsVpGtmq5Gch

Options

you can also read this info in passwordx --help

| Option | Description | Value | | ----------- | --------------------------- | -------------------------- | | --ambiguous | Allow ambiguous characters | {}[]()/'"`~,;:.<>\ | | --count | Generate multiple passwords | 1 | | --digits | Allow digits | 23456789 | | --length | Password length | 16 | | --lowercase | Allow lowercase characters | abcdefghjkmnpqrstuvwxyz | | --pattern | Custom pattern | undefined | | --similar | Allow similar characters | i, l, I, 1, \|, o, O, 0 | | --symbol | Allow symbols | !#$%&\*+-=?@^\_ | | --uppercase | Allow uppercase characters | ABCDEFGHJKLMNPQRSTUVWXYZ |

☎️ Need help?

Create GitHub issue

💖 Thank you

You can support passwordx by giving it a GitHub star.