0.2.0 • Published 5 years ago

@iamso/pass-words v0.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

pass-words

Creates a set of random words, that can be used as passwords or passphrases.

Install

npm install -g @iamso/pass-words

Usage

Programmatically

const passWords = require('pass-words');

// shown with default values
const words = passWords({
  words: 6,
  number: false,
  numberRange: [0, 9],
  separator: ' ',
});

Command Line

The CLI is a little simpler, you can use it without an option:

pass-words

Or pass in the desired number of words:

pass-words 8

License

ISC License