Socket
Socket
Sign inDemoInstall

fabuya

Package Overview
Dependencies
105
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fabuya

Baileys Whatsapp library wrapper


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

fabuya

An open-source Baileys WhatsApp API library wrapper. No puppeteer or selenium, faster than ever!

Fabuya wraps Baileys' user-bearable library into user-enjoyable library.

Simply put a client up and assign event handlers, that's it!

Installation

From NPM

npm install --save fabuya@beta

More version on the documentation below

Documentation

https://github.com/HanzHaxors/fabuya/tree/main/docs

Power Up New Client

const fabuya = require('fabuya');

let config = {};
fabuya.create('clientName', config).then((client) => {
	// When QR changed or created
	// display them on console
	client.onQRUpdated((qr) => {
		console.log(qr);
	});
	
	// This is when the QR has been scanned
	client.onQRScanned(() => {
		console.log("[*] QR Code scanned, logging in...");
	});

	// This is fired when new incoming/outgoing
	// messages sent. Currently, the library also
	// includes system messages
	client.onMessage((msg) => {
		console.log("[i] New message: ", msg.content);
		msg.reply("Hello!");
	});
});

// Keep the program going
// omit this if you have other implementation
fabuya.forever();

Found an Issue?

Or simply want to add a new feature you have been dreaming of?
Submit a new Issue with the correct formation and relax.

For Developers

Want to contribute to the project? Easy,

  1. Find an issue to start with
  2. Fork the project
  3. Make PR
  4. Get merged.

Keywords

FAQs

Last updated on 14 Apr 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc