1.0.8 • Published 11 days ago

wa-leal-stickers v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

WA-Leal-Stickers

Wa-Leal-Stickers is a simple tool which allows you to create WhatsApp Stickers.

Installation

> npm i wa-leal-stickers

Import

Before using the library, you need to import it.

import { toSticker, StickerTypes } from 'wa-leal-stickers' // ES6

Usage

const stickerBuffer = await toSticker(buffer, {
    pack: 'Pack_name', // The pack name
    author: 'Your_name', // The author name
    type: StickerTypes.DEFAULT, // The sticker type (only work for images)
    fps: 10 // The fps of the output file
})

// Example sending sticker on Baileys
conn.sendMessage(jid, {sticker : stickerBuffer})

Sticker Types (Only for images)

const StickerTypes = {
    DEFAULT = 'default',
    CIRCLE = 'circle',
}
1.0.8

11 days ago

1.0.7

12 days ago

1.0.6

15 days ago

1.0.5

15 days ago

1.0.4

18 days ago

1.0.3

19 days ago

1.0.2

19 days ago

1.0.1

19 days ago

1.0.0

19 days ago