AunuBaileys Docs
The WhatsApp Web API for bots that never sleep. Full upstream Baileys power โ with makeInMemoryStore restored, legacy exports brought back, and the AunuCore feature layer: StickerPack, Albums, the AI label, interactive builders, and built-in AunuAntiBan.
npm i aunubaileysWhy AunuBaileys?
๐ง The store is back
The complete makeInMemoryStore (chats, contacts, messages, labels) that upstream removed โ restored and fully typed.
๐ Legacy exports restored
processedMessages, initInMemoryKeyStore(), and PHONENUMBER_MCC โ the symbols older bot scripts reach for.
๐ฆ StickerPack & Albums
Send full sticker packs (cover + up to 60 stickers) and grouped photo/video albums, straight from sendMessage.
๐จ Interactive builders
Button, ButtonV2, Carousel, AIRich, and Toolkit for rich, Meta AI-style messages.
๐ก๏ธ AunuAntiBan built in
Per-chat & global rate limiting with Gaussian jitter, a 7-day warmup ramp, group guards, and disconnect classification.
๐ Always in sync
Built on WhiskeySockets/Baileys and kept in sync with upstream โ fixes and features flow in continuously, with a small, auditable AunuCore patch layer.
Downloads
๐ฆ npm (recommended)
Latest stable release, currently v1.0.5.
npm i aunubaileys
โฌ๏ธ Direct tarball
The exact v1.0.5 package archive from the npm registry โ for offline installs and mirrors.
๐ Source code
The full source of the published package, with the AunuCore patch layer visible and auditable.
10-second example
import makeWASocket, { useMultiFileAuthState, makeInMemoryStore } from 'aunubaileys'
const store = makeInMemoryStore({})
const { state, saveCreds } = await useMultiFileAuthState('auth')
const sock = makeWASocket({ auth: state })
store.bind(sock.ev)
sock.ev.on('creds.update', saveCreds)
latest release. See the changelog for what each version added.