@dreygur/messenger-group-avatar
v0.0.7
Published
Avatar generator that looks like messenger group chat default avatar
Downloads
2
Readme
Avatar generator that looks like messenger group chat default avatar
It exposes a function makeCombined
that recieves and image array as argument and returns a promise that will be resolved when the image is processed with a image location.
You need to delete the image after you have finished processing.
TS/ES
import makeCombined from '@dreygur/messenger-group-avatar';
makeCombined(...images)
.then((combinedImage) => /* do whatever you want to do with the combined image */ );
CommonJS/Node.js
const { default: makeCombined } = require('@dreygur/messenger-group-avatar');
makeCombined(...images)
.then((combinedImage) => /* do whatever you want to do with the combined image */ );