devpun

    1.5.0 • Public • Published

    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

    Keywords

    Install

    npm i devpun

    DownloadsWeekly Downloads

    14

    Version

    1.5.0

    License

    ISC

    Unpacked Size

    13.1 kB

    Total Files

    6

    Last publish

    Collaborators

    • elijahmanor