wcard-gen
TypeScript icon, indicating that this package has built-in type declarations

2.0.31 • Public • Published

wcard-gen

A welcome card generator based on canvas, built for ease.

Installation

Install wcard-gen with npm

  npm i wcard-gen

Install wcard-gen with yarn

  yarn add wcard-gen

Usage/Examples

// Importing module
const { Wcard } = require("wcard-gen");

// Creating the card
const welcomecard = new Wcard()
    .setName("iPuppyYT")
    .setAvatar('https://gravatar.com/userimage/245140636/a6f456c3200da7bdf2c013cbb0f7e819.jpeg')
    .setTitle("Welcome to Server")
    .setColor("00e5ff") // hex code without #
    .setBackground(`https://cdn.openart.ai/stable_diffusion/96564103ae44eb3ff1f38d84a7c858f561a08d92_2000x2000.webp`)
  
// Building the card
const card = await welcomecard.build();

Screenshots

App Screenshot

Features

  • Highly Customizable
  • Cross platform

License

GNU General Public License v3.0

Support

For support, open a issue.

Package Sidebar

Install

npm i wcard-gen

Weekly Downloads

40

Version

2.0.31

License

GPL-3.0

Unpacked Size

439 kB

Total Files

8

Last publish

Collaborators

  • ipuppyyt