check whether the npm package exists