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 🙏

© 2026 – Pkg Stats / Ryan Hefner

arkade-modules

v1.0.4

Published

Developers of Arkade has made an ultimate module which is going to make discord.js really easy

Readme

What is this?

This is a module developed by Arkade , to make fellow developers life easier. This has prewritten functions , with which you can make a great command handler , and add reaction collectors easily too! We will be adding more features.

Installation

npm i arkade-modules

Usage

const arkadeEngine = require('arkade-modules')

Make a Command Handler

Put this in index.js

const arkadeEngine = require('arkade-modules')
const arkade = new arkadeEngine("YOURTOKEN" , {
		cooldown:true,
		prefix:'YOURPREFIX'
})
arkade.createHandler();

We recommend storing token in an env file , and prefix in a config file

Default commands

Default commands are a work in progress , and we have only one as of now , which is reload To use Default commands , do this , above arkade.createHandler();

arkade.loadDefault({
});

Later on , when we add mroe default commands , you can pass in addditional parametrs , if you dont want specific commmands

arkade.loadDefault({
	reload:false
});

How to use Command handler

Create a folder called commands , and multiple folders inside it as categories The Syntax is really simple , dont worry!

module.exports={
  name:"test",
  description:"testing",
  async run(message , args){
    message.channel.send("Hi!")
  }
}

With ArkadeHandler you also get option to add cooldown , just under description , write cooldown:timeinseconds You can also add aliases aliases:["alias1" , "alias2"] See! Its really simple

Reaction Pages

const Discord = require("discord.js");
const engine = require('arkade-modules')
module.exports = {
    name:"test",
    description:"testing",
    async run(message,args){
      const arkadeEngine = new engine();
      arkadeEngine.createReactionPages(['hi' , 'sup' ,'bro'] , message)
    }
}

However here are the two lines to look at

const arkadeEngine = new engine();
arkadeEngine.createReactionPages(['hi' , 'sup' ,'bro'] , message)

The line const arkadeEngine = new engine(); is used to create a new instance of our module , so it will be there in every single command. arkadeEngine.createReactionPages(['hi' , 'sup' ,'bro'] , message) The first parameter is an array , in which you will store all your messages , this can be embeds or regular messages , the next parameter is message , which is required for the bot to function

Reaction Collector


const Discord = require("discord.js");
const engine = require('arkade-modules')
module.exports = {
   name:"test",
   description:"testing",
   async run(message,args){
     const arkadeEngine = new engine();
     arkadeEngine.createReactionCollector('sup' , ['📩'] , ['no u'] , message)
     
   }
}

Here , in arkadeEngine.createReactionCollector('sup' , ['📩'] , ['no u'] , message) , the first parameter is the original message , The next parameter is an array , which will contain all emojis , after that will be an array of values you want each emoji to respond with , then we will pass in message . OPTIONAL: You can also pass in a role , after the message parameter if you want reaction roles And after that you can also pass in functions as paramaters. However the functions are still in development