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

super-strong-password-generator

v2.0.2

Published

This library can be imported as Node.js modules

Downloads

31

Readme

Super strong password generator –npm

Get a strong, unique, and secure password immediately.

🔐Super Strong Password Generator - ONLINE

BUG FIX! Update your package to version 2.0.0 or higher

Versions below 2.0.0 contain a bug. The recursive function lowercase_PW stored generated letters in a global variable. Without reloading the browser, this variable held all the characters. Therefore, the recursive function did not allow generation of new characters. This is because a global variable already met the function condition. That's put simply.

All other functions rely on the recursive function lowercase_PW. In version 2.0.0, I eliminated this bug. The generated characters are unique every time whether you reload the browser or not. The global variables in the recursive function clean themselves to an empty array.

Errors occurred when using this package in building web applications and working with the DOM. This is a good example of how, when working with just a browser console, you can fail to anticipate such problems.

Feel free to submit ideas for improvement. Thank you.

Installation

This library can be imported as Node.js modules or as ES modules.

npm i super-strong-password-generator --save

npm i super-strong-password-generator-es --save

*To save as devDependencies use --save-dev

Node.js modules
const pw = require('super-strong-password-generator');
//then just call the function
pw.caseSensitive_numbs_PW(15)
//Using @Parcel bundler
import {caseSensitive_numbs_PW} from 'super-strong-password-generator'
//then just call the function
caseSensitive_numbs_PW(15)
ES modules
import {caseSensitive_numbs_PW} from '/node_modules/super-strong-password-generator-es/pw-generator.js';
//then just call the function
caseSensitive_numbs_PW(15)
//Using @Parcel bundler
import {caseSensitive_numbs_PW} from 'super-strong-password-generator-es'
//then just call the function
caseSensitive_numbs_PW(15)

Options

The function takes one argument – the length of the password. There are multiple options for password generation.

  • lowercase_PW - generates lowercase random letters
  • caseSensitive_PW - generates case sensitive random letters
  • caseSensitive_numbs_PW - generates case sensitive letters + numbers
  • caseSensitive_SpecialCharacters_PW - generates case sensitive letters + special characters
  • caseSensitive_Numbs_SpecialCharacters_PW - generates case sensitive letters + numbers + special characters (recommended option due security reasons)

Issues

Report any inconveniences or bring suggestions for improvement. Thank you in advance.