1.0.0 • Published 2 months ago
anthonyjones v1.0.0
Anthonyjones
Anthonyjones Node.js module with fun functions.
Installation
You can install this module via npm: npm install anthonyjones
Usage
const quirkify = require('quirkify');
// Get a random dad joke
quirkify.getRandomDadJoke()
.then(joke => console.log(joke))
.catch(err => console.error(err));
// Get a random quote
quirkify.getRandomQuote()
.then(quote => console.log(quote))
.catch(err => console.error(err));
// Get a random hexadecimal color
const randomColor = quirkify.getRandomColor();
console.log(randomColor);
1.0.0
2 months ago