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

1.7.2 • Public • Published

Mewwme

M E W C A R D

Mewcard is a futuristic music card library designed for Discord bots.

Report Issues & Give Suggestions · Invite · Support Server

Installation

npm install mewcard
yarn add mewcard
pnpm install mewcard

Example

This example code will generate a music card image and save it.

(async () => {
    const { mewcard } = require("mewcard");
    const fs = require("fs");

    const card = new mewcard()
        .setName("Bunga Hati")
        .setAuthor("Salma Salsabil")
        .setColor("auto")
        .setTheme("classic")
        .setBrightness(50)
        .setThumbnail("https://cdn.discordapp.com/attachments/1194410866209206412/1196152611594838026/mewwme.png")
        .setRequester("romanromannya")

    const cardBuffer = await card.build();

    fs.writeFileSync(`mewcard.png`, cardBuffer);
    console.log("Done!");
})()

Available Themes

  • themes1, themes2, themes3, to themes18
  • mewwme, mewwme1 (Mewwme's theme, which is based on Mewwme's profile picture.)

Card Available

classic classic classic

Projects

Sr. Name Platform
1 Mewwme's Music discord.js

Package Sidebar

Install

npm i mewcard

Weekly Downloads

125

Version

1.7.2

License

MIT

Unpacked Size

13.6 MB

Total Files

13

Last publish

Collaborators

  • lrmn7