npm -g detection take N+1