itshappy-canvas

1.1.7 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i itshappy-canvas

Weekly Downloads

1

Version

1.1.7

License

ISC

Unpacked Size

19.8 kB

Total Files

4

Last publish

Collaborators

  • itshappy