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