itshappy-canvas
v1.1.7
Published
Useful package for discord bots!`
Downloads
2
Readme
What's new?
Bug fixes, stable version 1.1.7
Installation
Run this on terminal
$ npm install itshappy-canvas
Examples
Circle
Cutout's the image to a circle.
const happyCanvas = require('itshappy-canvas');
await happyCanvas.circle(image)
.then(buffer => {
console.log(buffer) // returns image buffer
});
Welcome Card
Welcome card builder.
const happyCanvas = require('itshappy-canvas');
await happyCanvas.welcomeCard(image, userTag, backgroundImage, themeColor) // default themeColor is #ffffff
.then(buffer => {
console.log(buffer) // returns image buffer
});
Add me on discord ItsHappy#3837