
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
djs-protofy
Advanced tools
A library created to make discord.js easier to use through prototypes.
npm i djs-protofy
yarn add djs-protofy
pnpm i djs-protofy
Import djs-protofy/init into the main file.
// ES5
require("djs-protofy/init");
// ES6
import "djs-protofy/init";
Getting a user
client.users.cache.get(string); // Instead of
client.users.getById(string); // Do it
Getting a voice channel by a user
// Instead of
client.channels.cache.find((channel) => {
if (!channel.isVoiceBased()) return false;
return channel.members.has(string);
});
// Do it
client.channels.getVoiceByUserId(string);
FAQs
A library created to make Discord.JS easier to use through prototypes.
We found that djs-protofy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.