npm.io
0.2.0 • Published 6 years agoCLI

@iamso/pass-words

Licence
ISC
Version
0.2.0
Deps
3
Size
176 kB
Vulns
0
Weekly
0

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