DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

Inspect npm Package Lockfile Sources and Integrity Declarations

Review where an npm lockfile says its packages come from and whether each entry declares a recognized integrity digest. No registry requests.

Loading tool...

How to review package sources in package-lock.json

  1. Open an npm lockfile

    Select a v2 or v3 package-lock.json up to 8 MiB. Nothing is downloaded, installed, or sent to a registry.

  2. Compare sources and digest declarations

    For example, a workspace link counts as local while a Git dependency counts as Git. A workspace link can omit integrity because there is no tarball digest in that entry.

  3. Export a redacted inventory

    Download source categories, digest states and entry numbers. The report omits package locations, names, hostnames, URLs and digest strings.

Use cases

  • Check whether a lockfile introduces a Git or local source before reviewing a change.
  • Share package-source breakdowns without disclosing internal names or URLs.

Limits and privacy

  • Supports npm lockfile format 2 or 3 with a packages map, up to 10,000 non-root entries. Counts package locations, not distinct packages or dependency relationships.
  • Only declarations are inspected. A digest is not checked against an artifact. This does not install packages, fingerprint registries, or audit vulnerabilities or trust.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

Can I check which versions match an npm range?

Use npm SemVer Range Lab to compare a range against versions you supply. The source inventory reads declarations without contacting registries.

Does missing integrity mean an entry is unsafe?

No. An npm link or bundled package can have no separate digest declaration. The report describes the file, not the security of a package.

Does an npm registry URL prove which registry will be contacted?

No. That category is based on the declared hostname. npm configuration and registry mirroring can change where installation fetches files.

Can I use a version 1 lockfile or a pnpm lockfile?

No. This tool reads npm v2 or v3 lockfiles with a packages map. It does not convert other formats.

Will the report reveal my private registry?

The JSON includes only categories and row numbers. Raw URLs and hostnames are neither displayed nor exported; package locations can be shown locally if you choose.

Related tools