Extra Credit

server-only

This is a marker package to indicate that a module can only be used in Server Components.

$npm install server-only

Official docs outline

Extra Credit builds an outline of server-only's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484