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

@lordmega/baileys

v0.3.28

Published

Enhanced Baileys v7 with fixes for newsletter media uploads, plus support for interactive messages, albums, and additional message types.

Readme

🗿 lordmega baileys

Logo

📋 Table of Contents


✨ Highlights

Built for production with an emphasis on readability and reliability:

  • 🚫 No obfuscation — clean, auditable code.
  • 🚫 No auto-follow channel (newsletter) behavior.
  • 👁️ Reveal view-once messages via sock.rvo().
  • 📱 Android browser support to receive view-once messages.
  • ✏️ Automatic decryption of E2EE message edits (May 2026+).
  • 🔑 Caller-supplied messageSecret support on any message type.

🛠️ Internal Adjustments

  • 🖼️ Fixed newsletter media upload failures caused by an upstream bug.
  • 📁 Restored makeInMemoryStore with a lightweight ESM adaptation and minor compatibility tweaks for Baileys v7.
  • 📦 Replaced FFmpeg exec calls with spawn for more reliable process management.
  • 🗃️ Added @napi-rs/image as a supported backend in getImageProcessingLibrary(), providing a solid balance between speed and compatibility.
  • 🔒 Spoofing guards on self-only protocol messages.

📨 Messages Handling & Compatibility

  • 📩 Extended message type support for:
    • 🖼️ Album Message
    • 👤 Group Status Message
    • 👉🏻 Interactive Message (buttons, lists, native flows, templates, carousels)
    • 🎞️ Status Mention Message
    • 📦 Sticker Pack Message
    • ✨ Rich Response Message [NEW]
    • 🧾 Message with Code Blocks [NEW]
    • 🌏 Message with Inline Entities [NEW]
    • 📋 Message with Table [NEW]
    • 💳 Payment-related Messages (requests, invites, orders, invoices)
  • 📰 Simplified ad thumbnail sending via externalAdReply — no manual contextInfo required.
  • 💭 Added support for quoting messages inside newsletters. [NEW]
  • 🎀 Added support for custom button icons. [NEW]
  • 👁️ Reveal view-once messages and resend as normal media via sock.rvo(). [NEW]

🧩 Additional Message Options

  • 👁️ Optional boolean flags for message behavior:
    • 🤖 ai — AI icon on message
    • 📣 mentionAll — Mention all group participants without specifying individual JIDs [NEW]
    • 🔧 ephemeral, groupStatus, isLottie, spoiler, viewOnce, viewOnceV2, viewOnceV2Extension, interactiveAsTemplate — Message wrappers
    • 🔒 secureMetaServiceLabel — Secure meta service label [NEW]
    • 📄 raw — Build message proto manually (DO NOT USE FOR EXPLOITATION)
  • 🔑 Pass a custom 32-byte messageSecret on any message type via send options.

🚀 Try the Bot

A lightweight, modular WhatsApp bot built on this library — includes group management, moderation, quiz games, and utility tools.

👉🏻 MegaBot MD


📦 Fork Base

Based on WhiskeySockets/Baileys