Skip to content

elijahmanor/devpun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 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]

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