random-programming-meme

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i random-programming-meme

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

13.7 kB

Total Files

5

Last publish

Collaborators

  • krshnk