alternatives for node-canvas

I had used canvas long time ago. Now when i tried to use it again, i couldn't even install it. I looked the readme on the npmjs page, and it stated that i have to install bunch of packages. I'm too lazy for that. So I'm looking for an alternatives that works similar to canvas, especially if that tool has something like converting it to data url. [I was about to use it in my discord bot btw] Thanks.
14 Replies
Jochem
Jochem•4mo ago
npm
canvas
Canvas graphics API backed by Cairo. Latest version: 2.11.2, last published: a year ago. Start using canvas in your project by running npm i canvas. There are 2654 other projects in the npm registry using canvas.
Melodium
MelodiumOP•4mo ago
yeah
Jochem
Jochem•4mo ago
you don't need to install all of those, that's just if you're compiling from source
Melodium
MelodiumOP•4mo ago
oh well, i tried to install it on vscode it just thrown alot of npm errors and the package wasn't installed lemme send a screenshot oh no it's too long to screenshot lemme send part of it
Melodium
MelodiumOP•4mo ago
No description
Jochem
Jochem•4mo ago
what command are you running?
Melodium
MelodiumOP•4mo ago
npm i canvas
Jochem
Jochem•4mo ago
hmm, no idea then looks like there's no version of this precompiled for your particular node and windows versions
Melodium
MelodiumOP•4mo ago
🤔 i dont understand, my nodejs version is not up to date or the canvas package isn't upto date?
Jochem
Jochem•4mo ago
one of those, sure
Jochem
Jochem•4mo ago
No description
Melodium
MelodiumOP•4mo ago
hmmmm do you know any alternatives for canvas?
Jochem
Jochem•4mo ago
no
Melodium
MelodiumOP•4mo ago
ook thanks anyways well im thinking of archiving this post as i got no replies and i kept that idea aside will open it later :)
Want results from more Discord servers?
Add your server