This code is a sample application for this question on stackoverflow. node -v v14.18.1 npm -v 6.14.15