@netlify/next
TypeScript icon, indicating that this package has built-in type declarations

1.4.9 • Public • Published

Next.js Runtime

@netlify/next

The @netlify/next package makes Next.js even better.

Next.js Advanced Middleware

Regular Next.js Middleware doesn’t provide access to the actual response, or allow you to modify the request. The @netlify/next library brings the power of Netlify Edge Functions to Next.js Middleware. It gives full access to the request and response objects, allowing you to modify requests before they are sent to your Next.js app, and modify responses before they are sent to the browser. This allows you to personalize pages on the fly, even if they are statically-generated. It includes baked-in support for:

  • HTML rewrites
  • Page data transforms
  • Modifying request headers
  • Access to response body

For full details, see the docs.

Readme

Keywords

none

Package Sidebar

Install

npm i @netlify/next

Weekly Downloads

1,012

Version

1.4.9

License

MIT

Unpacked Size

16.8 kB

Total Files

12

Last publish

Collaborators

  • claireknight
  • youvalv
  • berdav
  • vitaliyr
  • smnh
  • denar90
  • kathmbeck
  • rj-netlify
  • akardet
  • pieh
  • hrishikeshk
  • sarahetter
  • orinokai
  • seanroberts
  • mikewen
  • biilmann
  • marcus.netlify
  • jgantunes
  • eduardoboucas
  • netlify-bot
  • nasiba