This package has been deprecated

Author message:

This package is no longer in development

puns

2.0.0 • Public • Published

puns

Unix fortune, but with RMS puns

travis js-semistandard-style

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);
  });

Source

Puns - Richard Stallman.

Package Sidebar

Install

npm i puns

Weekly Downloads

2

Version

2.0.0

License

MIT

Last publish

Collaborators

  • npm