Apptunix Interview Question

How would you use a URL module in Node.js?