wlcanvass
v1.0.2
Published
fixed version from yg-canvas
Downloads
3
Maintainers
Readme
installation
$ npm i wlcanvass
welcome
const wlcanvass = require("wlcanvass");
const fs = require("fs");
async function wlc() {
const welc = await new wlcanvass.welcome()
.setProfile("picture url")
.setName("participant")
.setBg("https://wallpapers.com/images/featured/space-sjryfre8k8f6i3ge.jpg")
.setMember(01)
.startGoodbye();
return welc;
}
wlc().then((data) => {
fs.writeFileSync("out.svg", data.toBuffer());
});
result
goodbye
const wlcanvass = require("wlcanvass");
const fs = require("fs");
async function wlc() {
const welc = await new wlcanvass.goodbye()
.setProfile("url from img")
.setName("participant")
.setBg("https://wallpapers.com/images/featured/space-sjryfre8k8f6i3ge.jpg")
.setMember(01)
.startGoodbye();
return welc;
}
wlc().then((data) => {
fs.writeFileSync("out.svg", data.toBuffer());
});