Refactored npm request to it’s own package as required for deployment