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

nidhishpackage

v1.7.8

Published

This is a fun package for [Discord](https://discord.com) The library is [Discord.js](https://discord.js.org)

Downloads

42

Readme

Package made by Nidhish#1295 & DWORD#0001

This is a fun package for Discord The library is Discord.js

Having any trouble? Join this server

npm i nidhishpackage

*Some content is used from srod-v2, i had permission to do this.

Table Of Contents

Utilities

EmbedPages

const { MessageEmbed } = require("discord.js");

    const { embedpages } = require("nidhishpackage");
    const embed1 = new MessageEmbed()
    .setTitle(`test`)
  const embed2 = new MessageEmbed()
    .setTitle(`test2`)

    const pages = [
        embed1,
        embed2
    ]
    
    const embedPages = new embedpages({ 
        pages: pages, 
        channel: message.channel, 
    });
    embedPages.createPages();

RandomString

    const nidhish = require("nidhishpackage");
    console.log(nidhish.password(7))

ChatBot

const { chatbot } = require('nidhishpackage')
        chatbot(message);

InlineReplies

Put this in your index.js

const Discord = require('discord.js')
require('nidhishpackage')
const client = new Discord.Client()

Now to use it

if(message.content.startsWith('!help')){
  return message.noMentionReply('The list of my commands') // This is so it won't mention the person
  return message.mentionReply('The list of my commands') // This is so it will mention the person
}

Games

TicTacToe

const { tictactoe } = require('nidhishpackage')
let user = message.mentions.members.first()
if(!user) return message.channel.send('please mention someone to play against')
let game = new tictactoe({
    message: message,
    player_two: user,
});

ConnectFour

        const nidhish = require('nidhishpackage')
        const ConnectFour = new nidhish.connectfour()
        ConnectFour.startGame(message)

SnakeGame

        const nidhish = require('nidhishpackage')
        const SnakeGame = new nidhish.SnakeGame()
        SnakeGame.startGame(message)

GuessTheNumber


        const nidhish = require('nidhishpackage')
        const guessthenumber = new nidhish.guessthenumber()
        guessthenumber.startGame(message)

Fun

Emojify

const nidhish = require(`nidhishpackage`)
        const emojified = await nidhish.emojify('Random Text Here');
       message.channel.send(emojified);

Owoify

const nidhish = require(`nidhishpackage`)
        const owoified = await nidhish.owoify('Random Text Here');
       message.channel.send(owoified); //owoify text

Memes

const nidhish = require(`nidhishpackage`)
        const Meme = await nidhish.getmeme();
        return message.channel.send(Meme);

Quotes

const nidhish = require(`nidhishpackage`)
const quote = await nidhish.generateQuote({ Color: "Color Here"})
return message.channel.send(quote);

AnimeQuotes

const nidhish = require(`nidhishpackage`)
const quote = await nidhish.generateAnimeQuote({ Color: "Color Here"})
return message.channel.send(quote);

Fact

const nidhish = require(`nidhishpackage`)
const Data = await nidhish.getfact({ Color: "Color Here" });
return message.channel.send(Data);

Joke

const nidhish = require(`nidhishpackage`)
const Data = await nidhish.getjoke({ Color: "Color Here" });
return message.channel.send(Data);

Animals

Koala And Redpanda

This wasn't in the api I used but I really liked them so below if how you get redpanda or koala.

const nidhish = require("nidhishpackage"); 
const randomImage = new nidhish({
 type: 'embed'  
}); 
await randomImage.Koala(message) // change Koala to Redpanda to use redpanda

Below is an example of one animal, you can change it to the list below the example for a different one.


        const nidhish = require(`nidhishpackage`)
        const animal = await nidhish.animalimage({ Animal: "animal here", Color: "hex code here" });
             return message.channel.send(animal); //all available animals are in the list below

List of all animals

| Animals | Description | |----------|------------------------| | Cat | Sends a cat image | | Duck | Sends a duck image | | Dog | Sends a dog image | | Llama | Sends a llama image | | Alpaca | Sends an alpaca image | | Seal | Sends a seal image | | Panda | Sends a panda image | | Bird | Sends a bird image | | Fox | Sends a fox image | | Wolf | Sends a wolf image | | Camel | Sends a camel image |
| Lizard | Sends a lizard image |

NSFW

const nidhish = require(`nidhishpackage`)
const Data = await nidhish.gethpussy({ Color: "Color Here" });
return message.channel.send(Data);

List of all NSFW content

| NSFW | Description | |------------------|--------------------------------| | gethpussy | Sends a Hentai Pussy img/gif | | gethboobs | Sends a Hentai Boobs img/gif | | getRandomHGif | Sends a RandomHentai img/gif | | getherok | Sends a Hentai Erok img/gif | | gethfeetg | Sends a Hentai Feet img/gif | | gethlesbian | Sends a Hentai lesbian img/gif | | gethbj | Sends a Hentai Blowjob img | | getbjgif | Sends a Hentai Blowjob gif | | gethtrap | Sends a Hentai Trap img/gif |

SFW

const nidhish = require(`nidhishpackage`)
const Data = await nidhish.getneko({ Color: "Color Here" });
return message.channel.send(Data);

List of all SFW content

| sfw | Description | |------------------|--------------------------------| | getneko | Sends an Neko image | | getnekogif | Sends a Neko gif | | getRandomHGif | Sends a RandomHentai image/gif | | geterok | Sends a Erok image/gif | | getfeetg | Sends an Feet image/gif | | getwallpaper | Sends a Random Wallpaper | | getfoxgirl | Sends a Random Foxgirl img |