REA npm package.json notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
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

  1. Authorize the package.json (+ artifacts you hold).
  2. Quote selected name / version / scripts / engines / dependencies pins you actually see.
  3. Version groups → rea-syncpack; unused → rea-knip-json / rea-depcheck.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. 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

ArtifactHonest posture
package.jsonPackage identity facts
Syncpack cousinrea-syncpack
Knip / Depcheckrea-knip-json / rea-depcheck
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_package_json / automatic npm runs.
  • No credential theft from config secrets / env / .npmrc tokens.
  • 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).

Sources