1.0.8 • Published 1 year ago

wa-leal-stickers v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago