Apptunix interview question

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