This is a small flake wrapper around a Python script that adds missing “integrity” and “resolved” fields to a npm package-lock.json file.
You pass the path to package-lock.json as a command line argument to npm-lockfile-fix:
npm-lockfile-fix ./path/to/package-lock.jsonCurrently, this project is only packaged as a nix flake. I will improve the Python packaging in due course.