@nangg/baileys
v1.0.0
Published
NANGG Baileys wrapper with a simple custom pairing-code helper.
Maintainers
Readme
@nangg/baileys
A small wrapper around @whiskeysockets/baileys with a helper for requesting a custom NANGG pairing code.
Install
npm install @nangg/baileysUsage
import {
createNanggSocket,
requestNanggPairingCode
} from "@nangg/baileys";
const sock = createNanggSocket({
auth: state
});
const code = await requestNanggPairingCode(sock, "628xxxxxxxxxx");
console.log(code);The wrapper does not replace Baileys' networking or authentication implementation. It delegates to the upstream Baileys API.
Publish
npm publish --access public