REA npm lockfile notes (unofficial)
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
- Authorize the lockfile + the tree or tarballs you were given.
- Quote name/version/resolved integrity fields you actually see.
- Packed
.tgz→ rea-npm-tarballs. - Extracted package trees → rea-npm-packages.
- 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
| Artifact | Honest posture |
|---|---|
package-lock.json / shrinkwrap | Lock / pin facts |
npm .tgz | rea-npm-tarballs |
| Yarn cousin | rea-yarn-lock |
| pnpm cousin | rea-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).