@iamso/pass-words
v0.2.0
Published
Creates a set of random words.
Downloads
4
Readme
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