I am Hack Sparrow
Captain of the Internets.

Create animated JPG/JPEG using Node.js

Can JPEGs be animated? Did you see an animated image on the Web and realized with great shock that it was a JPG/JPEG image? You see an animating JPEG right infront of your eyes and start question your knowledge that only the GIF format has the provision for animated images. How is that possible? There are two scenarios to what could be happening. A GIF file got renamed to .jpg, but the browser is smart enough to detect the true soul of the ...

Using Node.js to download files

There are three approaches to writing a file downloader app using Node - i. HTTP.get, ii. curl, iii. wget. I have created functions for all of them. To get the examples working makes sure you have the dependencies and app variables intact. Read the comments thoroughly, you will not only learn how to download files, but will also learn more about Node's child_process, File System, Buffers, and Streams. Let's start with HTTP.get. ...