Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zxcraxss-canvas

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zxcraxss-canvas

hello world(>////<)

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
24
decreased by-58.62%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

$ npm install knights-canvas

const knights = require("knights-canvas");

404

NPM

how to use

Welcome
const knights = require("knights-canvas");
const fs = require('fs');

const image = await new knights.Welcome()
    .setUsername("UNDEFINED")
    .setGuildName("WIBU NOLEP")
    .setGuildIcon("https://i.ibb.co/G5mJZxs/rin.jpg")
    .setMemberCount("120")
    .setAvatar("https://i.ibb.co/1s8T3sY/48f7ce63c7aa.jpg")
    .setBackground("https://i.ibb.co/4YBNyvP/images-76.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/swelkom.png', data)
 
result

Welcome2
const knights = require("knights-canvas");
const fs = require('fs');

var image = await new knights.Welcome2()
    .setAvatar("you url pic")
    .setUsername("your name") 
    .setBg("background") 
    .setGroupname("guild name/groupname") 
    .setMember("member count") 
    .toAttachment();
    
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/sewelkom2.png', data)
  

Rank
const knights = require("knights-canvas");
const fs = require('fs');

const image = await new knights.Rank()
    .setAvatar("https://i.ibb.co/1s8T3sY/48f7ce63c7aa.jpg") 
    .setUsername("Lingz") 
    .setBg("https://i.ibb.co/4YBNyvP/images-76.jpg")
    .setNeedxp("1000") 
    .setCurrxp("100") 
    .setLevel("6") 
    .setRank("https://i.ibb.co/Wn9cvnv/FABLED.png") 
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/srank.png', data)
 
result

Level Up
const knights = require("knights-canvas");
const fs = require('fs');

const image = await new knights.Up()
    .setAvatar("https://i.ibb.co/1s8T3sY/48f7ce63c7aa.jpg") 
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/slevelup.png', data)
 
result

update
Maker
Horny
const knights = require("knights-canvas");
const fs = require('fs');
const image = await new knights.Horny()
    .setAvatar("https://i.ibb.co/1s8T3sY/48f7ce63c7aa.jpg")
    .toBuild();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/horny', data)
result

Jojo
const knights = require("knights-canvas");
const fs = require('fs');
const image = await new knights.Jo()
    .setImage("https://i.ibb.co/xG8L4mz/images.jpg")
    .toBuild();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/jojo.png', data)
result

Patrick
const knights = require("knights-canvas");
const fs = require('fs');
const image = await new knights.Patrick()
    .setAvatar("https://i.ibb.co/xG8L4mz/images.jpg")
    .toAttachment();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/pat.png', data)
result

Bonk
const knights = require("knights-canvas");
const fs = require('fs');
const image = await new knights.Bonk()
    .setAvatar1("https://i.ibb.co/G5mJZxs/rin.jpg")
    .setAvatar2("https://i.ibb.co/BZgRzh0/IMG-20210621-WA0000.jpg")
    .toBuild();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/bonk.png', data)
result

Spongebob Burn
const knights = require("knights-canvas");
const fs = require('fs');
const image = await new knights.Burn()
    .setAvatar("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQwXmOgfrrGKdaGbnisffjJaUM2eU2izUBf3w&usqp=CAU")
    .toAttachment();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/burn.png', data)
result

✉ req ? chat me on

Telegram

Credits

thanks my team for the help
knights-canvas

(^ω^)

Keywords

FAQs

Package last updated on 10 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc