Sharing Javascript Between Backend (Node.js) and Frontend (Browser)
I’ve always liked the idea of being able to reuse Javascript code in both Node.js (on the backend) and the browser (on the frontend). I was surprised by just how easy it was to accomplish.