Check if npm works

.check_npm_works(node_top_dir)

Arguments

node_top_dir

directory containing npmjs app/exe

Value

path of npm executable if found and functional, otherwise: FALSE