Predicate code refactoring
just test npm module install when a envirement varianle is present