Repairs malformed fields, normalizes values, and resolves inconsistencies npm detects in package.json, writing corrections back to the file. Run it after hand-editing the manifest or when npm warns about the file. Review the diff in git before committing.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.