Prints the engines field, which declares which Node and npm versions the package supports. Comparing this to your node --version output tells you whether an install or upgrade will work. npm also enforces engines when the engine-strict config is enabled.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.