Package Exports
- node-canvas-utils
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-canvas-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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();