
HTML in Node.js
Sometimes we can be using a technology for years and not realize that it hides some small, yet super useful, feature deep inside. This is also true for Node.js and its require()
. Did you know that it allows you to import HTML files into your JavaScript application?