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