node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org ยป

@koba04/jpeg-encoder

javascript-jpeg-encoder

JPEG encoder ported to JavaScript and optimized by Andreas Ritter, www.bytestrom.eu, 11/2009.

His site went offline a while ago but I still had a local copy and thought it should stay public for the world's benefit.