whatsapp-web.js Lightweight version
This package is a lightweight version of whatsapp-web.js package.
It can be installed through:
npm i @taylorho/whatsapp-web.js
Requirements:
- Node v18+
- Google Chrome or Chromium already installed on the device
Difference from the original package:
The original package uses puppeteer, which goes with a fully functional chrome version (that increases the bundle size). This was changed by the puppeteer-core package, that uses a pre-installed version of chrome. Additionally, the node-fetch package was removed, because fetch API is already implemented on Node v18+ (and therefore the need for the 18+ version of node).