v4.0.0
Safely generate an npm lockfile and output it to the filename of your choice.
Source code on GitHub