Socket
Book a DemoInstallSign in
Socket

node-canvas-utils

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-canvas-utils

Utilites for use with node-canvas

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Node-Canvas-Utils

This a package i made for reasons idk why.

examples:

let Canvas = require("canvas");
let Utility = require("node-canvas-utils");

let canvas = Canvas.createCanvas(300, 300);
let ctx = canvas.getContext("2d");
let util = new Utility(ctx);

util.circleClip();

util.createText("hi", 5, 5, {
    font: "60px sans-serif",
    fillText: "#ffffff"
});

let attachment = Canvas.toBuffer();

Keywords

discord

FAQs

Package last updated on 13 Jun 2021

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