@dreygur/messenger-group-avatar
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

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 */ );

Readme

Keywords

none

Package Sidebar

Install

npm i @dreygur/messenger-group-avatar

Weekly Downloads

2

Version

0.0.7

License

MIT

Unpacked Size

20.9 kB

Total Files

7

Last publish

Collaborators

  • dreygur