Check for npm package before installing it