whatsapp-bot-pack

3.0.0 • Public • Published

Example code and usage:

for adding text over img

let {memGen} = require('whatsapp-bot-pack');


let options = {
    imageURL: 'example.jpg', // URL of image
    topText: 'hamme', // optionel
    top_Pos : 10,//optionel
    bottomText: 'ekash-md', // bottom text of meme
    bot_Pos : 50,//optionel
    fileName: 'my_meme', //optionel
}

memGen(options, function(res, error) {
    if(error) throw new Error(error)
    console.log('img writed with ' + res.fileName + 'name');
});

Readme

Keywords

none

Package Sidebar

Install

npm i whatsapp-bot-pack

Weekly Downloads

2

Version

3.0.0

License

GNU

Unpacked Size

597 kB

Total Files

6

Last publish

Collaborators

  • inrl-bot-md