
Research
/Security News
Laravel Lang Compromised with RCE Backdoor Across 700+ Versions
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.
Birb.JS is a simple, yet powerful Discord API wrapper for Node.JS.
With just a few lines of code, you can get a Discord bot connected to the API.
Birb.JS is still in development. It is highly recommended you DO NOT use it until it’s ready.
Documentation
GitHub
NPM
Birb.JS Server
Discord API Server
Node.js v16.0.0+ is required.
npm install birb
# or
yarn add birb
# or
pnpm add birb
Birb.JS comes with a few optional addons made by our team.
Please view their documentation for more information on how to use them.
npm install @birbjs/framework)npm install @birbjs/sharding)npm install @birbjs/cluster)npm install @birbjs/devtools --save-dev)These dependencies aren't required, but will allow Birb.JS to do things more efficiently. NPM may attempt to install these by default. To force NPM to not attempt to install these, add the --no-optional command line argument.
npm install erlpack)npm install zlib-sync)npm install bufferutil)npm install utf-8-validate)npm install @discordjs/opus)Most of these dependencies require node-gyp which some users may struggle to install (mostly due to very unhelpful errors).
If you're on Windows, run npm install windows-build-tools --global in an administrator command prompt.
If you're on Ubuntu, run sudo apt install build-tools.
Remember that these are optional dependencies. If you're struggling, feel free to ignore them. Birb.JS will only use them if they are available.
const { Client, Intents } = require('birb');
const client = new Client({
intents: new Intents(Intents.FLAGS.ALL),
});
client.listen('ready', () => {
console.log('Connected to Discord!');
});
client.connect('your_bot_token');
@knokbak*PL, @axisiscool, @PalmDevs
ws, petitio, crypit, @sapphire/snowflake, erlpack, bufferutil, utf-8-validate, zlib-sync
typescript, copyfiles, @types/node, @types/ws, @birbjs/devtools
Birb.js is currently licensed under the Mozilla Public License 2.0. You're free to use it as a library in both personal and commercial projects, free-of-charge.
FAQs
A JavaScript wrapper for the Discord API.
We found that birb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Laravel Lang packages were compromised with an RCE backdoor across hundreds of versions, exposing cloud, CI/CD, and developer secrets.

Security News
Socket found a malicious postinstall hook across 700+ GitHub repos, including PHP packages on Packagist and Node.js project repositories.

Security News
Vibe coding at scale is reshaping how packages are created, contributed, and selected across the software supply chain