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