Socket
Book a DemoInstallSign in
Socket

baileys-wa

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

baileys-wa

WhatsApp API

unpublished
latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
Β 
Created
Source

Typing SVG

Banner

πŸš€ Ultra-light, TypeScript-ready, WebSocket-powered WhatsApp Library
No Puppeteer. No Headless Browser. Just pure, blazing WebSocket magic.

GitHub Stars NPM Version License

πŸ‘‘ Build Next-Level Bots β€’ Automate at Scale β€’ Integrate Like a Pro

✨ Why WhatsApp Baileys?

Baileys is a battle-tested, elegant, and fully modular WhatsApp automation library.
Forget bloated headless browser setups β€” this is the modern, scalable, and efficient way to interact with WhatsApp.

βœ… TypeScript Supported
βœ… Session Management
βœ… Multi-Device Ready
βœ… Interactive Message Support
βœ… Custom Pairing Flows
βœ… Fast & Modular Architecture

🧠 Core Features

FeatureDescription
πŸ”Œ Direct WebSocketNo browser dependency. Pure WebSocket protocol connection.
πŸ” Secure PairingUse your own pairing flow or auto-generate. No random session drops.
🧠 Interactive UISend buttons, lists, and quick replies with ease.
πŸ“‚ Smart SessionsEfficient session recovery β€” even across devices.
🧩 Easy IntegrationPlug-and-play with Express, Fastify, or your own stack.
⚑ Lightweight CoreMinimal, high-speed, and zero browser footprint.

πŸ“¦ Installation

npm install @MikaYelovich/baileys-wa

πŸš€ Quick Example

import makeWASocket from "@MikaYelovich/baileys-wa";

const sock = makeWASocket({
  printQRInTerminal: true,
});

sock.ev.on("messages.upsert", async ({ messages }) => {
  const msg = messages[0];
  if (!msg.key.fromMe) {
    await sock.sendMessage(msg.key.remoteJid!, {
      text: "Hello from Baileys ⚑",
    });
  }
});

πŸ’₯ Don't Sell This Source Code!

Warning Typing SVG

πŸ‘€ Credits & Dev

Created and maintained by the open-source community. README customized by Mika Yelovich.

GitHub Stats

Keywords

whatsapp

FAQs

Package last updated on 08 Jul 2025

Did you know?

Socket

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.

Install

Related posts