find
Locate all installations of a package name across the scanned workspace.
bash
nodehunter find react
nodehunter find react ~/work
nodehunter find lodash ~/work --full --jsonWhat you get
- Whether the package was found (
found: true | falsein JSON) - Distinct versions in the workspace
- Per-install paths with attributed
sizeBytes - Aggregate
totalSizeBytesacross installations
Arguments
| Argument | Description |
|---|---|
<package> | Exact package name (required) |
[path] | Scan root (default: current directory) |
Options
Discovery flags, global flags, --top, --full.
Examples
bash
# Where is typescript installed?
nodehunter find typescript ~/company
# CI: fail if more than one major version (parse JSON)
nodehunter find react ~/company --json --silentRelated
- why — deeper footprint explanation
- inspect — duplicate versions across packages
- JSON output —
workspaceblock forfind