This sample demonstrates how to run a set of tasks in parallel using Promises. To run the sample code first install its dependencies: npm install Then execute the 'spider' module by providing a valid url (including the protocol) node index http://www.example.com