random-programming-meme
v1.0.2
Published
an npm package that provides random programming memes
Downloads
19
Readme
Random Programming Meme
A simple npm package that provides a random programming meme. It fetches memes from the "ProgrammerHumor" subreddit on Reddit.
Installation
npm install random-programming-meme
Usage
const { getProgrammingMeme } = require('random-programming-meme');
(async () => {
try {
const meme = await getProgrammingMeme();
console.log('Programming Meme:', meme);
} catch (error) {
console.error('Error:', error.message);
}
})();
Example Output
{
"title": "A witty programming meme",
"imageUrl": "https://example.com/meme.jpg"
}
Dependencies
License
This project is licensed under the MIT License - see the LICENSE file for details.