npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ranimg

v2.9.1

Published

Ranimg Simple Package To Generate Random Images With API

Downloads

14

Readme

RanImg

RanImg Simple Package Generate Image Using Diffrent API's.

Methods

Animals

  1. Lizard - Send random lizard image.
  2. Cat - Send random cat image.
  3. Dog - Send random dog image.
  4. Alpaca - Send random alpaca image.
  5. Llama - Send random llama image.
  6. Seal - Send random seal image.
  7. Panda - Send random panda image.
  8. Bird - Send random bird image.
  9. Fox - Send random fox image.
  10. Pikachu - Send random pikachu image.
  11. Koala - Send random koala image.
  12. Redpanda - Send random red panda image.

Fun

  1. Meme - Sends random meme from Reddit.
  2. Yesno - Sends random yes/no answer.
  3. Monster - Send random monster image.
  4. Kpop - Sends random kpop image with info about him.
  5. Joke - Sends random joke.

Anime

  1. Anime - Send random anime method image.
  2. Goodnight - Send random anime goodnight image.
  3. Waifu - Sends random anime Waifu(rem) image.
  4. Pat - Send random anime pat image.
  5. Hug - Send random anime hug image.
  6. Cry - Send random anime cry image.
  7. Kiss - Send random anime kiss image.
  8. Slap - Send random anime slap image.
  9. Smug - Send random anime smug image.
  10. Punch - Send random anime punch image.

Others

  1. Captcha - Sends random captcha image.
  2. Fact - Sends random fact.
  3. Advice - Sends random advice.

Code Example

NOTE: Only DISCORD.JS V12:

const Discord = require('discord.js');
const client = new Discord.Client();
client.on('ready', () => console.log('Ready !!'));
client.login(/* YOU'R BOT TOKEN */);

const ranimg = require('ranimg');
const randomImage = new ranimg({
    type: 'embed' // message, url
});

client.on('message', async(message) => {
    if(message.content.startsWith('!wink')) {
        return await randomImage.Wink(message);
    }
})

Warn

Package URL Type Not Working 100% Will Be Fixed in V3

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

CHANGE LOG

  • Rename Discordmonster method To Monster
  • Fix 3 Bugs
  • More Methods
  • Add More API

Dependencies

  • merge-options: 3.0.4
  • node-fetch: 2.6.1

RanImg API'S

  • https://apis.duncte123.me
  • https://some-random-api.ml
  • https://bruhapi.xyz/
  • https://neko-love.xyz
  • https://yesno.wtf
  • https://dog.ceo
  • http://aws.random.cat
  • https://api.darkboy.me - Thank You DarkBoy :D
  • https://api.deltaa.tk - Thank You Deltaa :)

Any Bug ?

  • Contact With Me Discord: AzizJaber.#5414

License

MIT

KemzoDev

Discord Server Youtube Channel