REA npm package.json notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
Quick answer
package.json pins npm package identity. In REA 6.7.x, treat selected name/scripts/engines/dependency pins as Evidence beside archive/package routes — complementing rea-syncpack without inventing APIs.
Mental model
- Authorize the
package.json(+ artifacts you hold). - Quote selected name / version / scripts / engines / dependencies pins you actually see.
- Version groups → rea-syncpack; unused → rea-knip-json / rea-depcheck.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a package.json API REA never called.
Minimal path
# authorized package.json (+ artifact you hold)
# quote selected name/scripts/engines/deps pins into case notes
# cousins → syncpack / knip-json / depcheck / yarn-lock
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_package_json .
Compare
| Artifact | Honest posture |
|---|---|
| package.json | Package identity facts |
| Syncpack cousin | rea-syncpack |
| Knip / Depcheck | rea-knip-json / rea-depcheck |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_package_json/ automatic npm runs. - No credential theft from config secrets / env /
.npmrctokens. - No pirate redistribution of paid packages.
- No crack framing via package.json pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-syncpack?
rea-syncpack covers version-group pins across a monorepo. This page zooms on single package.json identity — it does not overwrite that page.
Is there inspect_package_json in 6.7.0?
Not assumed. Quote name/scripts/engines/dependencies pins you actually open. Do not invent inspect_package_json.
Does REA run npm install or talk to registries?
No. Local trees only. No credential theft.
package.json vs package-lock / yarn.lock?
Label Evidence by the file present. Lock cousins → rea-yarn-lock.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).