wwebjs-s3store
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

wwebjs-s3store

An S3 Store plugin for the whatsapp-web.js library!

Use S3 to save your WhatsApp MultiDevice session on a AWS S3.

Quick Links

Installation

The module is now available on npm! npm i wwebjs-s3store

Example usage

const { Client, RemoteAuth } = require('whatsapp-web.js');
const { S3Store } = require('wwebjs-s3store');
const { S3Client } = require("@aws-sdk/client-s3");

const client = new Client({
    authStrategy: new RemoteAuth({
        store: new S3Store({
            s3client: new S3Client({})
        }),
        backupSyncIntervalMs: 60000
    })
});

client.initialize();

Package Sidebar

Install

npm i wwebjs-s3store

Weekly Downloads

1

Version

1.0.4

License

Apache-2.0

Unpacked Size

24.1 kB

Total Files

12

Last publish

Collaborators

  • nandang.k95