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

veron-baileys

v1.0.4

Published

WhatsApp API Modification By VeronDev

Readme

Baileys — Typescript/Javascript WhatsApp Web API

Baileys is a Typescript/Javascript library that implements the WhatsApp Web protocol. This fork/package re-exports the library under the package name veron-baileys so you can install it either using the stable unscoped name or via the original scoped names that point to this package.

Package on npm: https://www.npmjs.com/package/veron-baileys
Homepage / source: https://github.com/VeronDev/Baileys

Badges

  • npm: veron-baileys (latest)
  • Compatible aliases:
    • @whiskeysockets/baileys => npm:veron-baileys@latest
    • @adiwajshing/baileys => npm:veron-baileys@latest

Quick install

Using Yarn (recommended)

yarn add veron-baileys
# or pin a specific version:
yarn add [email protected]

Using npm

npm install veron-baileys
# or pin a specific version:
npm install [email protected]

If you want to use the original package names as aliases in package.json, add these entries:

{
  "dependencies": {
    "@whiskeysockets/baileys": "npm:veron-baileys@latest",
    "@adiwajshing/baileys": "npm:veron-baileys@latest",
    "veron-baileys": "1.0.2"
  }
}

Importing

If you installed the unscoped package:

import makeWASocket from 'veron-baileys'

If you used one of the aliased scoped package names, import exactly as you would normally:

import makeWASocket from '@whiskeysockets/baileys'
// or
import makeWASocket from '@adiwajshing/baileys'

Minimal example

This is a compact example showing how to create a socket and listen for connection updates. For a fuller example that covers authentication, message handling, media, and reconnection, see the included example.ts file in the repository.

import makeWASocket from 'veron-baileys'

async function start() {
  const sock = makeWASocket({
    // pass options here (logger, printQRInTerminal, auth, etc.)
  })

  sock.ev.on('connection.update', (update) => {
    console.log('connection update:', update)
  })

  sock.ev.on('messages.upsert', (m) => {
    console.log('messages upsert:', m)
  })
}

start().catch(console.error)

Running the example

  1. Clone or download the repository:
    git clone https://github.com/VeronDev/Baileys.git
    cd Baileys
  2. Install dependencies:
    yarn
  3. Run the example script:
    yarn example

Notes and compatibility

  • This package re-exports the Baileys API under the veron-baileys package name. If you depend on code that imports @whiskeysockets/baileys or @adiwajshing/baileys, you can use the alias entries above in package.json so existing imports continue to work.
  • Check example.ts in the Example/ folder for a full demonstration of usage patterns, session persistence, message handling, and media upload/download.
  • Keep your environment up-to-date with Node.js LTS releases for best compatibility.

Contributing

  • Contributions, bug reports, and PRs are welcome. Please open issues or pull requests on the GitHub repository: https://github.com/VeronDev/Baileys

License

  • See LICENSE in the repository for license details.