
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
angularsockets
Advanced tools
Enterprise-Grade WhatsApp Business API
High-performance modified Baileys library for scalable WhatsApp integrations
Angularsockets a mod og Baileys WhatsApp Web API by Mr Frank
✅ Stabil & lasts long
✅ Support multi-device (MD)
✅ Support buttons
✅ SSupport Custom Pairing Code
✅ Support Group
Install npm
npm i angularsockets
## Handling Events
- Baileys uses the EventEmitter syntax for events.
They're all nicely typed up, so you shouldn't have any issues with an Intellisense editor like VS Code.
> [!IMPORTANT]
> **The events are [these](https://baileys.whiskeysockets.io/types/BaileysEventMap.html)**, it's important you see all events
You can listen to these events like this:
```ts
const sock = makeWASocket()
sock.ev.on('messages.upsert', ({ messages }) => {
console.log('got messages', messages)
})
This is a fix mention @lid for bots working in groups
sock.ev.on('messages.upsert', async chatUpdate => {
try {
mek = chatUpdate.messages[0]
if (!mek.message) return
mek.message = (Object.keys(mek.message)[0] === 'ephemeralMessage') ? mek.message.ephemeralMessage.message : mek.message
const m = mek
const isGroup = m.key.remoteJid.endsWith('@g.us');
const mentionedJid = mek.message?.extendedTextMessage?.contextInfo?.mentionedJid || [];
if (isGroup && Array.isArray(mentionedJid) && mentionedJid.some(j => j.endsWith('@lid'))) {
const groupMetadata = await sock.groupMetadata(mek.key.remoteJid);
const resolvedMentions = mentionedJid.map(jid => {
if (jid.endsWith('@lid')) {
const match = groupMetadata.participants.find(p => p.id === jid);
return match?.jid || jid;
}
return jid;
});
mek.message.extendedTextMessage.contextInfo.mentionedJid = resolvedMentions;
const lidMap = {};
mentionedJid.forEach(originalLid => {
if (originalLid.endsWith('@lid')) {
const match = groupMetadata.participants.find(p => p.id === originalLid);
if (match && match.jid) {
const jidNumber = match.jid.split('@')[0];
const lidNumber = originalLid.split('@')[0];
lidMap[lidNumber] = jidNumber;
}
}
});
const replaceLidInText = (text) => {
if (!text) return text;
Object.entries(lidMap).forEach(([lidNum, jidNum]) => {
const regex = new RegExp(`@${lidNum}\\b`, 'g');
text = text.replace(regex, `@${jidNum}`);
});
return text;
};
if (mek.message.conversation) {
mek.message.conversation = replaceLidInText(mek.message.conversation);
}
if (mek.message.extendedTextMessage?.text) {
mek.message.extendedTextMessage.text = replaceLidInText(mek.message.extendedTextMessage.text);
}
let msg = {
messages: [proto.WebMessageInfo.fromObject(mek)],
type: "append",
};
return conn.ev.emit("messages.upsert", msg);
}
} catch (err) {
}
});
FAQs
Baileys Mod By Mr Frank
The npm package angularsockets receives a total of 3,180 weekly downloads. As such, angularsockets popularity was classified as popular.
We found that angularsockets demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.