npm view react@18.2.0 peerDependencies

Category: Node.js & npm/yarn

npm view react@18.2.0 peerDependencies

Show the peer dependencies of a package version

Inspects the peerDependencies of one published version of react, the libraries its consumers must provide themselves. Pin a version after the @ to compare how requirements changed between releases. Useful before upgrading a framework.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.