Skip to content
whatsapp-sdk / 1.0.0

whatsapp-sdk 1.0.0

Install from the command line:
Learn more about npm packages
$ npm install @refactoring-do/whatsapp-sdk@1.0.0
Install via package.json:
"@refactoring-do/whatsapp-sdk": "1.0.0"

About this version

WhatsApp Cloud API SDK

@refactoring-do/whatsapp-sdk

Dependencies-free WhatsApp Cloud API SDK for Node.js.

GitHub Package NPM Package Tests Linting and Formatting

Getting Started

Ready to send WhatsApp messages? Prepare to do it as efficiently and simply as possible.

Installation

Install from NPM

npm install @refactoring-do/whatsapp-sdk

Install from GitHub

npm install https://github.com/refactoring-do/whatsapp-sdk

Usage example

import { Client } from "@refactoring-do/whatsapp-sdk";

(async () => {
  const client = new Client({
    accessToken: 'Introduce here your bearer token',
    cloudApiVersion: 'v15.0',
    phoneNumberId: 000000000000000,
  });

  await client.sendText({ body: 'Hello world from Mars!' }, '10000000000');
})();

Credits

This package has been inspired by the official WhatsApp Cloud API for Node.js. A few improvements and facilities have been added.

Made with ❤️ by Refactoring, SRL

Details


Assets

  • whatsapp-sdk-1.0.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all