1.0.0 • Published 2 years ago

passphrase-generator v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Build Status

Overview

NPM package that generates passphrase.

Installation

npm i passphrase-generator --save

Setup & Basic Usage

const { generatePassPhrase } = require('passphrase-generator')
// OR
import { generatePassPhrase } from 'passphrase-generator'

console.log(generatePassPhrase(5))
// ['acceptable', 'wilderness', 'carsick', 'bypass', 'crossly']

console.log(generatePassPhrase(5, 'a'))
// ['aback', 'abaft', 'abandoned', 'abashed', 'aberrant']

Additional Info

Options

PropertyDesc.
lengthword(s) that will return as array
startsWithreturn words that start with the given letter

Contribute

Feel free to clone or fork this project: https://github.com/deanilvincent/passphrase-generator.git

Contributions & pull requests are welcome!

I'll be glad if you give this project a ★ on Github :))

License

This project is licensed under the MIT License - see the LICENSE.md file for details.