Replace boring pass and fail messages with popular movies and tv dialogues.
The lists are just JSON files and can be used wherever.
$ npm install --save pass-fail-messages
const passFailMessages = require('pass-fail-messages');
passFailMessages.passRandom();
//=> 'The force is strong with this one.'
Type: array
Pass message.
Type: array
Fail message.
Type: array
Both pass and fail messages.
Type: function
Random pass message.
Type: function
Random fail message.
Type: function
Random pass or fail message.
$ npm install --global pass-fail-messages
$ pass-fail --help
Examples
$ pass-fail
The force is strong with this one.
$ pass-fail --all --type pass
A hero can be anyone.
GGGGGGGGGiddy-up!
...
Options
--all Get all messages instead of a random message
--type Type of message: pass|fail|all Default: all
- yes-no-words - Get yes/no like words
MIT © Dutiyesh Salunkhe