Skip to content
/ devpun Public
forked from elijahmanor/devpun

A collection of developer jokes

License

Notifications You must be signed in to change notification settings

BMDan/devpun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devpun

A collection of developer jokes authored by Elijah Manor (@elijahmanor)

Install

$ npm install devpun

Usage

const devpun = require("devpun");

console.log(devpun.random()); // returns a random joke
console.log(devpun.random("react")); // returns a random react joke
console.log(devpun.list()); // returns an array of all jokes
console.log(devpun.list("react")); // returns an array of all react jokes

CLI

$ devpun [options]

or

$ ./devpun.py [options]

Options

-v, --version      output the version number
-l, --list         List all the jokes
-t, --tag <value>  Filter jokes with tag
-h, --help         output usage information

Examples

$ devpun
$ devpun --tag react
$ devpun -t javascript
$ devpun --list
$ devpun -l
$ devpun -lt react

Tags

  • javascript
  • react
  • java
  • c#
  • node
  • coffeescript
  • css
  • ember
  • backbone
  • knockout

About

A collection of developer jokes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 70.6%
  • JavaScript 29.4%