better way for npm