Node.js URL Module In Node.js URL module used splits up a web address into readable parts. Include Node.js URL Module var url = require('url'); Parse an address with url.parse() function. Example var url = require('url'); var adr = 'http://localhost:8080/home.htm?year=2019&month=january'; var q = url.parse(adr, true); console.log(q.host); //returns 'localhost:8080' console.log(q.pathname); //returns '/home.htm' console.log(q.search); //returns '?year=2019&month=january' var qdata = q.query; //returns an object: { year: 2019, month: 'january' } console.log(qdata. january); //returns 'january' Node.js File Server Create two file named home.html and contact.html home.html <!DOCTYPE html> <html> <body> <h1>Rozgardesh</h1> <p>Education for everyone</p> </body> </html> contact.html ...