talira

whatsapp-web.js

Unofficial Node.js WhatsApp client library that drives WhatsApp Web

open sourceApache-2.0free

whatsapp-web.js is a Node.js library that connects to WhatsApp through the WhatsApp Web app, running it in a managed browser with Puppeteer and calling its internal functions, so you can build bots and integrations with nearly all of the web client's features: multi-device, sending and receiving messages, media, stickers, contact cards and locations, groups and more. It isn't affiliated with or authorized by WhatsApp.

Problems it solves

  • build a WhatsApp bot in Node.js
  • send WhatsApp messages from my app without the Business API
  • automate replies on WhatsApp

Features

  • send and receive messages and media
  • multi-device support
  • groups, contacts and locations
  • runs WhatsApp Web through Puppeteer

Limitations

  • Unofficial and not authorized by WhatsApp: it drives WhatsApp Web in a browser to reduce, not remove, the risk of the account being blocked.1

Alternatives

The same job

These do what whatsapp-web.js does.

  1. Wechaty Conversational RPA SDK for writing chatbots once and running them on WeChat, WhatsApp and other messengers
  2. Hubot Customizable chat bot for automating your team's chat room

Compare whatsapp-web.js with the top 3