updating npm pacakges code example Example 1: npm update all npm update --save Example 2: npm update syntax npm outdated