puns
Unix fortune, but with RMS puns
Install
npm install -g puns
or
npm install puns
Usage
Global install
puns
Will print a random pun.
puns --cow
Will print a random pun using cowsay.
puns -n x
Will print the xth pun. Can be combined with --cow
. Out of bounds indices will silently print nothing.
Module install
var getRandomPun = require('puns');
getPun(1)
.then(pun => {
console.log(pun);
});
getRandomPun()
.then(pun => {
console.log(pun);
});