npm update package lock file code example Example: npm create package lock npm install --package-lock