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 🙏

© 2025 – Pkg Stats / Ryan Hefner

botdash.pro

v2.1.3

Published

Create a dashboard for your discord bot

Readme

BotDash.pro/v2

Get started making amazing discord bot dashboard's. You're just one click away

Get Started (Discord.JS)

  1. Create an acount on https://botdash.pro/
  2. Create your first project.
  3. Go to the editor and add your first category
  4. Create your first setting (Set database storage ID to "botprefix" so the example will work without much changes)
  5. Return to your admin dashboard
  6. Go to settings and copy the API token to somewhere safe.
  7. Copy the code below and change bot token with your discord bot token and api token with the API token you just saved somewhere safe.
  8. In the admin dashboard turn Maintenance to off.

Enjoy

For newest version

let { Client, BotdashAPIPath, BotdashWSPath, DiscordJS14, useRestAPI } = require('./../index');
let { Client: discordClient, GatewayIntentBits } = require('discord.js');

let DiscordApp = new discordClient({ intents: [
    GatewayIntentBits.DirectMessages,
    GatewayIntentBits.Guilds,
    GatewayIntentBits.GuildBans,
    GatewayIntentBits.GuildMessages,
    GatewayIntentBits.MessageContent,
]});

let dashboard = new Client("-", new DiscordJS14(DiscordApp));

dashboard.on('ready', (dashboard) => {
    console.log(`Connected to dashboard: '${dashboard.name}' (${dashboard.id})`);
})

dashboard.on('change', (change) => {
    console.log('Someone changed something.')
    //details are in change
})

dashboard.on('intergrationLoad', (addon) => {
    console.log(`Integration '${addon.name}' by '${addon.author}' loaded`);
})

DiscordApp.on('ready', () => {
    console.log("Botdash testing bot is ready!");    
})

dashboard.triggers.on('triggerButton', (data) => {
    console.log("Someone pressed a button")
    //details are in data
})

DiscordApp.on('messageCreate', async(msg) => {
    if (msg.author.bot) return;
    let prefix = await dashboard.get(msg.guild.id, 'prefix');
    msg.reply(`Prefix is: ${prefix.json.value}`);
})

DiscordApp.login("--")

For older version 2 versions (Still supported with useRestAPI client option)

const botdash = require('botdash.pro'); //Require botdash.pro
const discord = require('discord.js'); //Require Discord.JS
const client = new discord.Client(); //Create a discord bot client
var dashboard = ""; //Declare variable
client.login("--- DISCORD BOT TOKEN ---"); //Login to the bot client
client.on('ready', () => { //Client is ready
    console.log("ready"); //print messageclient
    dashboard = new botdash.Client("--- BOTDASH TOKEN ---", new botdash.DiscordJS14(client)); //Connect to botdash with a discord.js instance 
});
client.on('message', async function(message) { //Discord message recieved
    const prefix = await dashboard.get(message.guild.id, "botprefix"); //Get a value (getVal still works!)
    if (message.content == `${prefix}ping`) { //Simple ping command with customizable prefix
        message.channel.send('pong'); //Send pong back 
    }
});

For older versions

const botdash = require('botdash.pro'); //Require botdash.pro
const discord = require('discord.js'); //Require Discord.JS
const client = new discord.APIclient(); //Create a discord bot client
var dashboard = ""; //Declare variable
client.login("--- DISCORD BOT TOKEN ---"); //Login to the bot client
client.on('ready', () => { //Client is ready
    console.log("ready"); //print messageclient
    dashboard = new botdash.Client("--- BOTDASH TOKEN ---"); //Connect to botdash with a discord.js 
});
client.on('message', async function(message) { //Discord message recieved
    const prefix = await dashboard.getVal(message.guild.id, "botprefix"); //Get a value (get works!)
    if (message.content == `${prefix}ping`) { //Simple ping command with customizable prefix
        message.channel.send('pong'); //Send pong back 
    }
});