REA npm lockfile notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

npm lockfiles (package-lock.json, sometimes npm-shrinkwrap.json) expose resolved identity pins beside JS package trees. REA 6.7.x should keep lock facts and package/tarball routes honest and separate — no silent npm RPC product.

Mental model

  1. Authorize the lockfile + the tree or tarballs you were given.
  2. Quote name/version/resolved integrity fields you actually see.
  3. Packed .tgz → rea-npm-tarballs.
  4. Extracted package trees → rea-npm-packages.
  5. Do not invent a solved install REA never performed.

Minimal path

# authorized package-lock.json / shrinkwrap + local packages/tarballs
# quote lockfileVersion + selected resolved/integrity pins into case notes
# REA npm/archive routes on /absolute/path/pkg-1.2.3.tgz --json
# do not invent: rea inspect_npm_lock .

Compare

ArtifactHonest posture
package-lock.json / shrinkwrapLock / pin facts
npm .tgzrea-npm-tarballs
Yarn cousinrea-yarn-lock
pnpm cousinrea-pnpm-store

Scope we will not cover

  • No inventing inspect_npm_lock / automatic registry crawlers.
  • No npm/GitHub token theft.
  • No pirate redistribution of paid npm packages.
  • No crack framing for commercial JS apps found in node_modules.

RepoRead is unofficial. Prefer archive/package honesty + DISCLAIMER.md.

FAQ

Is there inspect_npm_lock in 6.7.0?

Not assumed. Quote package-lock.json / npm-shrinkwrap.json pins you actually open, then use documented npm package / tarball / archive lanes on artifacts you hold (rea-npm-packages, rea-npm-tarballs).

How is this different from rea-yarn-lock / rea-pnpm-store?

Those pages cover Yarn and pnpm ecosystems. This page is npm lockfile identity beside the same honesty rule — lockfiles are Evidence, not a silent registry crawler.

Does REA run npm install or talk to registry.npmjs.org?

No. Local trees and packages only. No npm token theft.

LockfileVersion differences?

Record the lockfileVersion you see. Do not invent a resolved dependency graph REA never built.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources