In client.js, perform the below steps in the following order:
Fetch all the users by calling the /users API using node-fetch
Fetch todos for each user in chunks of 5 users by calling the /todos API, i.e,
Fetch the todos for first 5 users concurrently.
Once the todos for the first 5 users are fetched, wait for 1 second
and then fetch the todos of the next 5 users concurrently
wait for 1 more second and fetch the todos of the next 5 users concurrently and so on until todos for all users are fetched. We fetch the todos in chunks so as to not overload the server.
Once todos for all users are fetched, calculate how many todos are completed for each user and print the result in the following format: