User validations for npm