How to use the node-base64-image.base64decoder function in node-base64-image

To help you get started, we’ve selected a few node-base64-image examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yinxin630 / fiora-backend / api / utils / qiniu.js View on Github external
return new Promise((resolve, reject) => {
            Base64Image.base64decoder(imageData, {filename: '.tmp/temp'}, (err, saved) => {
                if (err) {
                    return reject(false);
                }
                return resolve(true);
            })
        });
    },

node-base64-image

Download images from remote URLs and encode/decode them to base64

MIT
Latest version published 3 months ago

Package Health Score

72 / 100
Full package analysis