package-lock.json generate code example Example: npm generate package-lock.json npm install --package-lock