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

passomatic

v1.0.7

Published

Passomatic is a lightweight password generation module that takes one argument, a number from 1-10 as an indication of password strength. Effortlessly generate placeholder passwords upon account creation, integrate behind a UI with a dial or slider, and e

Downloads

48

Readme

Passomatic

Passomatic is a lightweight password generation module that takes one argument, a number from 1-10 as an indication of password strength. Effortlessly generate placeholder passwords upon account creation, integrate behind a UI with a dial or slider, and enjoy the ease at which Passomatic generates passwords of all strengths according to the most standard password conventions.


API

passomatic(number)

var passomatic = require('passomatic');

 


-- Example 1 --

console.log(passomatic(1));

The password generated will be between 8 and 11 characters long. For each character in the string there’s an 80% chance it will be lowercase and 20% chance it will be uppercase.

oMFhfapM

   


-- Example 2 --

console.log(passomatic(2));

The password generated will be between 10 and 13 characters long. For each character in the string there’s a 60% chance it will be lowercase and 40% chance it will be uppercase.

WdMPsicOaLZi

   


-- Example 3 --

console.log(passomatic(3));

The password generated will be between 12 and 15 characters long. For each character in the string there’s a 56% chance it will be lowercase, 37% chance it will be uppercase and 7% chance it will be numeric.

5paHlqYgPqWNMj

   


-- Example 4 --

console.log(passomatic(4));

The password generated will be between 14 and 17 characters long. For each character in the string there’s a 46% chance it will be lowercase, 46% chance it will be uppercase and 8% chance it will be numeric.

LHLxncK33tQgIRUf

   


-- Example 5 --

console.log(passomatic(5));

The password generated will be between 16 and 19 characters long. For each character in the string there’s a 40% chance it will be lowercase, 40% chance it will be uppercase, 8% chance it will be numeric and 12% chance it will be a ‘password special character’ (ASCII Punctuation or Symbol).

$IBZx]u4fPsDwPBFje

   


-- Example 6 --

console.log(passomatic(6));

The password generated will be between 18 and 21 characters long. For each character in the string there’s a 38% chance it will be lowercase, 38% chance it will be uppercase, 10% chance it will be numeric and 14% chance it will be a ‘password special character’ (ASCII Punctuation or Symbol).

4qxy]w=^pftc.HNs?`kjv

   


-- Example 7 --

console.log(passomatic(7));

The password generated will be between 20 and 23 characters long. For each character in the string there’s a 33% chance it will be lowercase, 33% chance it will be uppercase, 8% chance it will be numeric and 26% chance it will be a ‘password special character’ (ASCII Punctuation or Symbol).

*"yglqwRROMHgWKETmw.TUB

   


-- Example 8 --

console.log(passomatic(8));

The password generated will be between 23 and 26 characters long. For each character in the string there’s a 34% chance it will be lowercase, 34% chance it will be uppercase, 5% chance it will be numeric and 27% chance it will be a ‘password special character’ (ASCII Punctuation or Symbol).

=dm.XOa$L5`:NGaf}w@a[m.3t

   


-- Example 9 --

console.log(passomatic(9));

The password generated will be between 26 and 29 characters long. For each character in the string there’s a 30% chance it will be lowercase, 30% chance it will be uppercase, 6% chance it will be numeric and 34% chance it will be a ‘password special character’ (ASCII Punctuation or Symbol).

zEM1u@Nh,IJJR%:Vf(*U-gmXG;$p

   


-- Example 10 --

console.log(passomatic(10));

The password generated will be between 29 and 32 characters long. For each character in the string there’s a 25% chance it will be lowercase, 25% chance it will be uppercase, 5% chance it will be numeric and 45% chance it will be a ‘password special character’ (ASCII Punctuation or Symbol).

@gw&}3KM|v#S)J*(f[gb+Z}&T*^gp2>

 

Notes

Passomatic is a lightweight password generation module that takes one argument, a number from 1-10 as an indication of password strength. Effortlessly generate placeholder passwords upon account creation, integrate behind a UI with a dial or slider, and enjoy the ease at which Passomatic generates passwords of all strengths according to the most standard password conventions.

Installation

With npm do

$ npm install passomatic

License

(MIT)

Copyright (c) 2018 David H. <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.