@lockfile-affected/lockfile-npm
v2.1.0
Published
package-lock.json adapter for lockfile-affected
Maintainers
Readme
@lockfile-affected/lockfile-npm
Warning: This tool is still in early development. The API may change, and some features are incomplete or not yet fully tested. Use in production at your own risk.
package-lock.json adapter for lockfile-affected.
Minimal usage
Parse lockfile content into a normalized name -> version snapshot.
import { npmLockfileParser } from '@lockfile-affected/lockfile-npm';
const snapshot = await npmLockfileParser.parse(lockfileContent);The parser implements the LockfileParser interface from @lockfile-affected/core.
Installation
npm install @lockfile-affected/lockfile-npmFor Git-based and CI usage patterns, see
lockfile-affected
or the CLI README.
Publishing
This package is automatically published to npm via GitHub Actions with provenance attestation.
