3.2.1 • Published 3 years ago

tanjiro-canvas v3.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Installation

$ npm install tanjiro-canvas

NPM version NPM downloads MIT License FOSSA Status

Example Rank Up

const tanjiro = require("tanjiro-canvas");
const  fs = require('fs-extra');

const image = await new tanjiro.RankUp()
    .setAvatar("https://i.postimg.cc/HnkjqLqd/1.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__dirname +'/cache/rankup.png', data)
 

Rank Up

Credits

Remake by Tanjiro Senpai

License

Tanjiro Canvas is freely distributable under the terms of the MIT license.