npm list version of package code example Example: npm list version of package npm view webpack versions --json