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

nyadiscord.js

v1.0.3

Published

The BEST Discord library! Ultra-fast, feature-rich alternative to discord.js with auto-reload, sharding, security, cooldowns, plugins, dashboard, and 13+ advanced modules. Build powerful Discord bots in minutes!

Downloads

320

Maintainers

soblendsoblend

Keywords

discorddiscord.jsdiscordjsdiscord-jsdjsd.jsdiscord.js-v14discord-js-v14discordjs-v14discord-v14discord-apidiscord-api-v10discord-api-v9discord-librarydiscord-frameworkdiscord-wrapperdiscord-clientdiscord-gatewaydiscord-restdiscord-websocketdiscord-wsdiscord-sdkdiscord-toolkitdiscord-packagediscord-modulediscord-npmbotbotsdiscord-botdiscord-botsdiscordbotbot-frameworkbot-librarybot-makerbot-builderbot-creatorbot-generatorbot-templatebot-boilerplatebot-starterbot-utilsbot-toolsbot-helperbot-kitbotkitchatbotchat-botdiscord-chatbotcommandscommandcommand-handlercommand-frameworkcommand-systemcommand-managercommands-handlerdiscord-commandsdiscord-commandprefix-commandsprefix-commandtext-commandsmessage-commandsslash-commandsslash-commandslash-command-handlerslash-commands-handlerdiscord-slash-commandsdiscord-slashapplication-commandsapp-commandscontext-menucontext-menu-commandsuser-commandsmessage-commandsinteractionsinteractiondiscord-interactionsinteraction-handlerbuttonsbuttondiscord-buttonsbutton-handlerselect-menusselect-menuselectmenudropdowndropdownsdiscord-dropdownmodalsmodaldiscord-modalsmodal-handlerformsdiscord-formstext-inputcomponentscomponentdiscord-componentscomponent-handlermessage-componentsaction-roweventseventevent-handlerevent-emitterevent-systemevent-managerdiscord-eventsgateway-eventsshardingshardshardsdiscord-shardingauto-shardingauto-shardshard-managersharding-managerclusterclustersclusteringdiscord-clusterworkersworker-threadsmulti-processmulti-threadingparallelscalablescalescalingload-balancingload-balancersecuritydiscord-securityanti-crashanticrashcrash-handlererror-handleranti-raidantiraidraid-protectionraid-detectoranti-spamantispamspam-protectionspam-filteranti-nukeantinukenuke-protectionrate-limitratelimitrate-limitingthrottlethrottlingcooldownscooldowncooldown-systemcooldown-manageruser-cooldownguild-cooldownchannel-cooldownmoderationmoddiscord-moderationmod-botmodbotautomodauto-modauto-moderationdiscord-automodfilterword-filterbad-wordsprofanity-filterpluginspluginplugin-systemplugin-managerplugin-loaderextensionsextensionaddonsaddonmodulesmodulemodule-systemhandlershandlerhandler-systemhot-reloadhotreloadhot-reloadingauto-reloadautoreloadlive-reloadlivereloadfile-watcherwatcherwatchreloadrefreshcachecachingcache-systemcache-managermemory-cachein-memorypersistent-cacheredisredis-cachememcachedlrulru-cachettldatabasedblocaldblocal-databasebsonmongodbmongodb-stylejson-dbjson-databasefile-databasestoragedata-storageenvdotenvenvironmentenvironment-variablesconfigconfigurationsettingsoptionsloggingloggerloglogsconsole-logdebugdebuggingdebuggerwebhookswebhookdiscord-webhookwebhook-loggerdashboardpanelcontrol-paneladmin-panelweb-dashboardweb-paneldiscord-dashboardbot-dashboardapirest-apirestfulhttp-serverhttpserverexpressautomationautomateautomaticautoflowsflowworkflowworkflowsiftttzapierzapier-styletriggersactionstemplatestemplategeneratorscaffoldingscaffoldboilerplatestarterstarter-kitclicommand-lineterminalnpxcreateinitmusicmusic-botmusicbotdiscord-musicdiscord-playerplayeraudiovoicevoice-channelvclevelinglevelslevellevel-systemxpxp-systemexperiencerankingranksrankleaderboardeconomyeconomy-systemcoinsmoneycurrencybalanceshopstoreinventoryrolesrolerole-managerauto-roleautorolereaction-rolesreaction-roleself-rolespermissionspermissionpermission-systempermsguildguildsserverserversdiscord-serverdiscord-guildchannelchannelsdiscord-channeltext-channelvoice-channelcategorythreadthreadsforummessagemessagesdiscord-messagesend-messagereplyuserusersdiscord-usermembermembersdiscord-memberguild-memberembedembedsrich-embedrich-embedsdiscord-embedmessage-embedsapphiresapphire-frameworkakairodiscord-akairocommandodiscord-commandoklasaerisoceanicoceanic.jsdetritusdetritusjsdiscord-alternativediscord.js-alternativediscordjs-alternativebetter-discord-jsbetter-discordjsfaster-discord-jsfast-discordultra-fastsuper-fastblazing-fastlightweightlight-weightminimalminimalistsmalltinymicrohigh-performanceperformanceoptimizedoptimizationefficientspeedfastquickeasyeasy-to-usesimplesimple-discordbeginnerbeginner-friendlybeginnersnoob-friendlynewbiestarter-friendlyuser-friendlydeveloper-friendlydev-friendlyintuitivecleanclean-codemodernlatestnewupdatedmaintainedactivetypescripttstypescript-readytypescript-supporttypedtypestypingsesmes-moduleses6es2020es2021es2022commonjscjsnodenodejsnode-jsjavascriptjsecmascriptv8nyanekokawaiicuteanimewaifuuwuowocatgirlmeownyaa20242025besttoppopulartrendingawesomeamazingpowerfuladvancedprofessionalpropremiumultimatecompletefull-featuredfeature-richall-in-onecomprehensiverobustreliablestableproduction-readyenterpriseopen-sourceopensourcefreemitoss

Readme

NyaDiscord.js 🐱

A high-performance, superior Discord library built from scratch with advanced features.

Installation

npm install nyadiscord.js

Quick Start

import { NyaClient, Intents, Colors, Logger } from 'nyadiscord.js';

const client = new NyaClient({
    intents: Intents.Guilds | Intents.GuildMessages | Intents.MessageContent,
    prefix: '!'
});

client.on('ready', (bot) => {
    Logger.success(`Logged in as ${bot.user.tag}`);
});

client.on('messageCreate', async (message) => {
    if (message.content === '!ping') {
        await message.nya.reply('Pong!');
    }
});

client.login('YOUR_BOT_TOKEN');

Features

  • Custom WebSocket Engine: Built-in heartbeating, reconnection, and resume logic
  • Advanced REST Manager: Automatic ratelimit handling with per-route queuing
  • Database Integration: Built-in @imjxsx/localdb support
  • Environment Loading: Built-in @imjxsx/envy support
  • Nya Helpers: Easy-to-use nya.reply(), nya.buttons(), nya.embed(), nya.modal()

API Reference

NyaClient

const client = new NyaClient({
    token: 'BOT_TOKEN',
    intents: Intents.All,
    prefix: '!',
    owners: ['USER_ID']
});

await client.loadEnv('./.env');
await client.loadDatabase('./data');
client.login();

Message Helpers

message.nya.reply('Hello!');
message.nya.reply({
    embed: {
        title: 'Title',
        description: 'Description',
        color: Colors.NyaPink
    }
});
message.nya.reply({
    content: 'Click!',
    buttons: [
        { label: 'Click Me', id: 'btn_click', style: 1 }
    ]
});

Interaction Helpers

interaction.nya.reply('Response!');
interaction.nya.defer();
interaction.nya.editReply('Updated!');
interaction.nya.modal({
    id: 'my_modal',
    title: 'My Modal',
    fields: [
        { id: 'input', label: 'Input', placeholder: 'Type here...' }
    ]
});

Intents

Intents.Guilds
Intents.GuildMessages
Intents.MessageContent
Intents.GuildMembers
Intents.All
Intents.Default

Colors

Colors.Red
Colors.Green
Colors.Blue
Colors.NyaPink
Colors.Discord
Colors.Blurple

Button Styles

ButtonStyles.Primary
ButtonStyles.Secondary
ButtonStyles.Success
ButtonStyles.Danger
ButtonStyles.Link

Database

await client.loadDatabase('./data');
const users = client.db.collection('users');

users.insertOne({ name: 'User', level: 1 });
users.findOne({ name: 'User' });
users.updateOne({ name: 'User' }, { level: 2 });
users.deleteOne({ name: 'User' });

await client.db.save();

Environment Variables

await client.loadEnv('./.env');
const token = client.env.get('TOKEN', 'string', 'default');
const port = client.env.get('PORT', 'number', 3000);
const debug = client.env.get('DEBUG', 'boolean', false);

License

ISC