Message from JavaScript discussions

August 2018

— Would be the pattern

— 

So you can just do:

var whatever;

some_async_fn(() => {
whatever = content;
event.emit('event_name');
}

— Okay

— Does anyone know how can I resize an image?

— It's really important to me, If you guys know how it works please tell me, I'll be appreciated.

— Imagemagick?

— No, using pure javascript

— I'm sure you can find a module

— Wait, serverside?

— No i have something like this, It's been generated by FFMPEG and other serverside scripts

— FFMPEG is already a native dependency :p

— But now the problem is in frontend