random-pepes
v1.0.7
Published
This npm package displays a random image of Pepe the Frog
Downloads
11
Readme
Random Pepes
You can get thousands of Pepe memes!
Features
- Easily get a random Pepe picture.
- Just install and pass the element as an argument to the function.
Installing
npm install random-pepes
or
yarn add random-pepes
Usage
import loadRandomPepe from "random-pepes";
window.onload = function() {
const container = document.querySelector('.image-container');
loadRandomPepe(container);
};
That's it!