Skip to content

maximedegreve/node-canvas-lambda

 
 

Repository files navigation

🛟 node-canvas-lambda

This package is a modified version of node-canvas that removes JPG and SVG support to make it more compact and suitable for use in Lambda functions.

📝 Instructions

Update your package.json file by adding the following code. This change will help reduce the package size and enable it to work with Lambda functions. Make sure to use only PNG in your canvas code.

"canvas": "maximedegreve/node-canvas-lambda#3.0.0",

🥸 Tested on

  • Netlify

About

A optimised canvas for Lambda which often has a limit on zip size.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.5%
  • C++ 28.0%
  • C 1.7%
  • Python 1.5%
  • Dockerfile 0.6%
  • Shell 0.3%
  • Other 0.4%