Why it matters
Overrides are how you force a patched version of a vulnerable transitive dependency. The nesting rules and $ references are easy to misread.
This explainer says in plain words what each entry changes, and gives the equivalent for Yarn and pnpm.
How to use it
- Type or paste your input; the example shows the format.
- Press Explain overrides. Results also update as you type.
- Read the summary line, then the table, notes or output below it.
- Copy or download what you need. Nothing leaves this page.
FAQ
Do overrides work in a library?
No. npm only reads overrides from the root project's package.json.
What is EOVERRIDE?
npm's error when an override for a direct dependency doesn't match its spec. Use "$name" to reference the direct spec instead.
Is my input uploaded?
No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.
Can I rely on the result?
It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.