1.0.1 • Published 4 years ago

fresh-password v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

fresh-password

Simple, non-offensive password generator. Generates passwords in the following format:

{word-a}{word-b}{number}{number}

This module aims to generate passwords which do not contain "offensive" words. In order to do this, it generates a password by combining two random words from the good.json list, appends two numbers, and then checks the final password against the list of words in bad.json. If there is a match, the password is recursively regenerated until a non-offensive password is (hopefully) generated.

Sample Passwords

  • terriblenet82
  • basketdinner76
  • stopbreak67
  • comparedevelop58
  • bravesometimes20
  • severalground58
  • atgroup48
  • topchase84

Installation

npm install fresh-password

Usage

const fp = require('fresh-password');

let password = fp.generate();

Acknowledgements

fresh-password was inspired by http://www.dinopass.com/

Contributing

Please feel free to request changes, especially to the word lists.