Have ideas to improve npm?Join in the discussion! »

    custom-discord-jokes

    1.0.3 • Public • Published

    custom-discord-jokes

    A npm-module for random and customized jokes.

    Install

    $ npm install --save custom-discord-jokes
    

    Usage

    var customDiscordJokes = require('custom-discord-jokes');
     
    // To get a random dad joke
    customDiscordJokes.getRandomDadJoke (function(joke) {
        //=> console.log(joke);
    });
     
    // To get a random Chuck Norris joke
    customDiscordJokes.getRandomCNJoke (function(joke) {
        //=> console.log(joke);
    });
     
    // To get a customized joke
    var fn = "Jackie";
    var ln = "Chan";
    customDiscordJokes.getCustomJoke (fn, ln, function(joke) {
        //=> console.log(joke);
    });

    Install

    npm i custom-discord-jokes

    DownloadsWeekly Downloads

    57

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    3.45 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar