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

cool-random-things

v1.0.5

Published

A package that provides very useful things from the internet by fetching them!

Downloads

30

Readme

npm npm install size

NPM

cool-random-things

Installation

npm i cool-random-things

Below are the things that this package offers you.

SETUP FOR COOL-RANDOM-THINGS

const discord = require("discord.js")
const client = new discord.Client()
const { Random } = require("cool-random-things") //if you want load the Random Package
const random = new Random();
const { Neko } = require("cool-random-things") //if you want load the Neko Package
const neko = new Neko();

client.on("ready", () => {
  console.log("Ready to go")
})

client.on("message", async message => {
  if(message.content === "!meme") {
    let img = await random.meme()
    message.channel.send(img)
  }else if(message.content === "!neko"){
  let img = await neko.neko()
  message.channel.send(img)
  });

client.login('TOKEN');

DOCUMENTATION FOR COOL-RANDOM-THINGS

WARNING TO MAKE THE CODES WORKS MUST HAVE THIS:

const { Random } = require("cool-random-things")
const random = new Random();
const { Neko } = require("cool-random-things")
const neko = new Neko();

meme(): Provides You a Random Funny Memes.

let img = await random.meme()
message.channel.send(img)

bear(): Provides You a Random Bear Images.

let img = await random.bear()
message.channel.send(img)

panda(): Provides You a Random Panda Images.

let img = await random.panda()
message.channel.send(img)

car(): Provides You a Random Car Images.

let img = await random.car()
message.channel.send(img)

smug(): Provides You a Random Smug gif.

let img = await neko.smug()
message.channel.send(img)

baka(): Provides You a Random Baka gif.

let img = await neko.baka()
message.channel.send(img)

tickle(): Provides You a Random Tickle gif.

let img = await neko.tickle()
message.channel.send(img)

slap(): Provides You a Random Slap gif.

let img = await neko.slap()
message.channel.send(img)

poke(): Provides You a Random Poke gif.

let img = await neko.poke()
message.channel.send(img)

pat(): Provides You a Random Pat gif.

let img = await neko.pat()
message.channel.send(img)

neko(): Provides You a Random Neko Images.

let img = await neko.neko()
message.channel.send(img)

nekogif(): Provides You a Random Nekogif gif.

let img = await neko.nekogif()
message.channel.send(img)

cat(): Provides You a Random Cat Images.

let img = await neko.cat()
message.channel.send(img)

lizard(): Provides You a Random Lizard Images.

let img = await neko.lizard()
message.channel.send(img)

kiss(): Provides You a Random Kiss gif.

let img = await neko.kiss()
message.channel.send(img)

hug(): Provides You a Random Hug gif.

let img = await neko.hug()
message.channel.send(img)

feed(): Provides You a Random Feed gif.

let img = await neko.feed()
message.channel.send(img)

cuddle(): Provides You a Random Cuddle gif.

let img = await neko.cuddle()
message.channel.send(img)

foxGirl(): Provides You a Random FoxGirl Images.

let img = await neko.foxGirl()
message.channel.send(img)

kemonomimi(): Provides You a Random Kemonomimi Images.

let img = await neko.kemonomimi()
message.channel.send(img)

holo(): Provides You a Random Holo Images.

let img = await neko.holo()
message.channel.send(img)

dog(): Provides You a Random Dog Images.

let img = await neko.dog()
message.channel.send(img)

goose(): Provides You a Random Goose Images.

let img = await neko.goose()
message.channel.send(img)

gecg(): Provides You a Random Gecg Images.

let img = await neko.gecg()
message.channel.send(img)

avatar(): Provides You a Random Avatar Images.

let img = await neko.avatar()
message.channel.send(img)

waifu(): Provides You a Random Waifu Images.

let img = await neko.waifu()
message.channel.send(img)

why(): Provides You a Random Why Text.

let text = await neko.why()
message.channel.send(text)