npm package.json most current version code example Example: update all dependencies npm npm update //update all local packages