Npm Dependency and Lock Metadata Inspector
Compare package.json dependency declarations with an npm lockfile and inspect repeated versions and install-script metadata.
Loading tool…
How to use Npm Dependency and Lock Metadata Inspector
Compare package.json dependency declarations with an npm lockfile and inspect repeated versions and install-script metadata. Find changed saved specifier text and missing top-level lock entries without installing packages. Retain dependency-section distinctions and show all supplied package locations rather than claiming a complete npm resolution.
- Provide package.json source, package-lock.json version 2 or 3.
- Choose the supported mode and run the tool. Review its assumptions and any reported errors.
- Copy the result or download a separate output; reset to clear the current form.
Good to know
- 100 KB of duplicate-free JSON per input, 40 parsed levels, 1,000 distinct direct names and 4,000 supplied package locations. Dependency specifiers are bounded nonempty single-line strings.
- npm lockfile versions 2 and 3 with packages[""] only. Version-1 lockfiles, pnpm/yarn locks, workspace/link traversal and package-manager-specific install simulation are not supported.
- A changed saved specifier is a literal metadata difference, not a claim that installed versions violate semver. Optional and peer entries can legitimately be absent; no platform or npm configuration is inferred.
- Repeated installed version strings and hasInstallScript flags come only from the supplied lock metadata. No package fetch, script, security audit or cryptographic integrity verification runs.
- Inputs are processed on this device and are not automatically saved or uploaded.
Common questions
Does a missing top-level entry prove npm cannot install this project?
No. Optional packages, peer placement, links, platform selection and other npm settings affect the installed tree. This inspector exposes supplied metadata differences and explicitly leaves those resolution decisions unassessed.
Does this change my original input?
No. The tool returns a separate result. Review that output before using it in another application.
Keep going with related tools
All developer →Package Exports Resolution Workbench
Trace package.json export selection for a concrete subpath and an explicit set of active conditions.
DeveloperSemantic Version Range Checker
Test versions against npm semantic ranges and sort valid versions.
DeveloperSRI Hash Generator
Generate a Subresource Integrity SHA-2 token for exact pasted UTF-8 JavaScript or CSS contents.
DeveloperWebpack Stats Bundle Reviewer
Review actual selected Webpack 5 stats assets, chunk references and module source sizes while keeping emitted bytes separate.
DeveloperDependabot Configuration Builder
Generate an actual version 2 Dependabot YAML draft from explicit update directories, schedules and selected repository settings.
DeveloperGitHub Actions Workflow Review
Expand bounded literal job matrices and review supplied needs dependencies, action references and authored token-permission declarations without running a workflow.