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

audirocanvas

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audirocanvas

Powerful image manipulation package for beginners.

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

audirocanvas

Powerful image manipulation tool to manipulate images easily.

Important Notice

⚠️ It takes a lot of time and effort to maintain these libs and I don't feel motivated enough to work on this when I am not getting anything out of my work. This lib isn't deprecated; it is still usable and will work as it is but it will not receive further updates. I might get back to this lib once the situation is stable. The repository will remain archived until further notice.

Installation

$ npm i audirocanvas

NPM

Features

  • Super simple and easy to use 😎
  • Faster than audirocanvas v4 🚀
  • More than 50 methods...? Yay! 🎉
  • Built on top of @napi-rs/canvas 🔥
  • Object oriented 💻
  • Beginner friendly 🤓
  • Supports emojis 😀

Documentation

https://audirocanvas.js.org

Join our Discord server

https://dsc.gg/tyriondev

Examples

Rank Card

const audirocanvas = require("audirocanvas");
const img = "https://cdn.discordapp.com/embed/avatars/0.png";

const userData = getDataSomehow();

const rank = new audirocanvas.Rank()
    .setAvatar(img)
    .setCurrentXP(userData.xp)
    .setRequiredXP(userData.requiredXP)
    .setStatus("dnd")
    .setProgressBar("#FFFFFF", "COLOR")
    .setUsername("Snowflake")
    .setDiscriminator("0007");

rank.build()
    .then(data => {
        const attachment = new Discord.MessageAttachment(data, "RankCard.png");
        message.channel.send(attachment);
    });

Preview

RankCard

Other Examples

const Discord = require("discord.js");
const client = new Discord.Client();
const audirocanvas = require("audirocanvas");

client.on("ready", () => {
    console.log("I'm online!");
});

client.on("message", async (message) => {
    if (message.author.bot) return;
    if (message.content === "!triggered") {
        let avatar = message.author.displayAvatarURL({ dynamic: false, format: 'png' });
        let image = await audirocanvas.Canvas.trigger(avatar);
        let attachment = new Discord.MessageAttachment(image, "triggered.gif");
        return message.channel.send(attachment);
    }
});

client.login("Your_Bot_Token_here");

Support me

Note

⚠ | In order to use audirocanvas#Welcomer/audirocanvas#Leaver/audirocanvas#CaptchaGen, you may need to install packages like discord-canvas & captcha-canvas.

Keywords

canvacord

FAQs

Package last updated on 28 Dec 2022

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