There are several similar questions available on stackoverflow itself but still I am asking again because I want solution in NodeJS.
The scenario is -