node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

canvas-base64

node-canvas-base64

base64 image methods for node-canvas

npm install canvas-base64

build status

Usage

 
        var canvasBase64 = require('canvas-base64')
 
        var imageData = canvasBase64.toImageDataFromBase64('<base64string>')
        var base64 = canvasBase64.toBase64FromImageData('<imageData>')
 

License

MIT