npm show latest version code example Example: npm get latest version of package npm show {pkg} version