canvas-resize-image Resize an image in the browser npm install canvas-resize-image Usage const resize = require('canvas-resize-image') await resize('base64image', { width, height, url }) License MIT