New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

panaiscard

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

panaiscard

A powerful Node.js package to generate stunning music cards for Discord bots

latest
Source
npmnpm
Version
0.1.60
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Version NPM Contributors Forks Stargazers Issues Support Server MIT License

🎵 PanaisCard 🎵

A powerful Node.js package to generate stunning music cards for Discord bots

🚀 Installation

# Using npm
npm install panaiscard

# Using yarn
yarn add panaiscard

🎨 Features

  • Generate beautiful music cards effortlessly
  • Multiple themes to choose from
  • Fully customizable options (background, colors, text, etc.)
  • Ideal for Discord bots and web applications

📌 Basic Usage

const { Classic } = require('panaiscard');
const fs = require('fs');

Classic({}).then(imageBuffer => {
    fs.writeFileSync('output.png', imageBuffer);
});

🤖 Discord Bot Integration

const { Classic } = require("panaiscard");
const fs = require("fs");

const panaiscard = await Classic({});

return message.channel.send({
    files: [{ attachment: panaiscard }]
});

🎭 Custom Background Support

const { Classic } = require('panaiscard');
const fs = require('fs');

Classic({
    thumbnailImage: 'https://example.com/thumbnail.png',
    backgroundImage: 'https://example.com/background.png',
    imageDarkness: 60,
    nameColor: '#DC92FF',
    progressColor: '#DC92FF',
    progressBarColor: '#2B2B2B',
    progress: 50,
}).then(imageBuffer => {
    fs.writeFileSync('output.png', imageBuffer);
});

🎨 Available Themes

🔹 Classic

classic

const { Classic } = require('panaiscard');
const fs = require('fs');

const panaiscard = await Classic({
    thumbnailImage: 'https://hiphopcorner.fr/wp-content/uploads/2016/05/image-eminem-cover-album-marshall-mathers-lp.jpg',
    backgroundColor: '#070707',
    progress: 10,
    progressColor: '#FF7A00',
    progressBarColor: '#5F2D00',
    title: 'Without Me',
    titleColor: '#FF7A00',
    author: 'Eminem',
    authorColor: '#696969',
    startTime: '0:00',
    endTime: '4:00',
    timeColor: '#FF7A00',
});

fs.writeFileSync('panaiscard.png', panaiscard);

🔹 ClassicPro

classicpro

const { ClassicPro } = require('panaiscard');
const fs = require('fs');

const panaiscard = await ClassicPro({
    thumbnailImage: 'https://hiphopcorner.fr/wp-content/uploads/2016/05/image-eminem-cover-album-marshall-mathers-lp.jpg',
    backgroundColor: '#070707',
    progress: 10,
    progressColor: '#FF7A00',
    progressBarColor: '#5F2D00',
    title: 'Without Me',
    titleColor: '#FF7A00',
    author: 'Eminem',
    authorColor: '#696969',
    startTime: '0:00',
    endTime: '4:00',
    timeColor: '#FF7A00',
});

fs.writeFileSync('panaiscard.png', panaiscard);

🔹 Dynamic

dynamic

const { Dynamic } = require('panaiscard');
const fs = require('fs');

const panaiscard = await Dynamic({
    thumbnailImage: 'https://hiphopcorner.fr/wp-content/uploads/2016/05/image-eminem-cover-album-marshall-mathers-lp.jpg',
    backgroundColor: '#070707',
    progress: 10,
    progressColor: '#FF7A00',
    progressBarColor: '#5F2D00',
    title: 'Without Me',
    titleColor: '#FF7A00',
    author: 'Eminem',
    authorColor: '#696969',
});

fs.writeFileSync('panaiscard.png', panaiscard);

🔹 Card

card

const { Card } = require('panaiscard');
const fs = require('fs');

const musicard = await Card({
    thumbnailImage: 'https://hiphopcorner.fr/wp-content/uploads/2016/05/image-eminem-cover-album-marshall-mathers-lp.jpg',
    backgroundImage: fs.readFileSync('bg.png'),
    imageDarkness: 70,
    author: 'Testing by UG',
    title: 'Bad Boy (feat. Luana Kiara)',
    trackIndexBackgroundRadii: [10, 20, 30, 40, 50, 60, 70, 80, 80, 100],
});

fs.writeFileSync('panaiscard.png', panaiscard);

🤝 Contributing

Want to improve PanaisCard? Follow these steps:

  • Fork the repository
  • Create a new feature branch
  • Implement your changes with proper documentation
  • Submit a pull request

💖 Contributors

Thanks to these amazing contributors:

📜 License

This project is licensed under the MIT License - see the MIT License file for details.

Keywords

musicard

FAQs

Package last updated on 22 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts