Safely generate an npm lockfile and output it to the filename of your choice.
The primary dependent of this package, `aud`, is EOL since npm added first-class support for it, and so this one is as well. See https://npmjs.com/lockfile-tools for similar (better) helpers!