Express: Automatically download an image when clicking a link

April 30, 2020 Goodman

The simple project below will show you how to automatically download an image served from Express server when clicking a link. Our project structure: The code in app.js (don’t forget to install express before running your…