2.0.0 • Published 10 years ago
puns v2.0.0
puns
Unix fortune, but with RMS puns
Install
npm install -g punsor
npm install punsUsage
Global install
punsWill print a random pun.
puns --cowWill print a random pun using cowsay.
puns -n xWill 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);
});