Open Next.js adapter for Cloudflare
OpenNext for Cloudflare is a monorepo that includes an adapter for deploying Next.js applications to Cloudflare’s developer platform. The @opennextjs/cloudflare package enables Next.js applications to run in the Cloudflare worker runtime using the Workers Node.js compatibility layer.
To try out the @opennextjs/cloudflare package, install it from npm:
npm install @opennextjs/cloudflare
For preleases, you can install directly from the experimental branch:
npm install https://pkg.pr.new/@opennextjs/cloudflare@experimental
For development in the repository, refer to the CONTRIBUTING page for instructions.
OpenNext for Cloudflare provides a seamless solution for deploying Next.js applications on Cloudflare’s developer platform. The package offers integration with Cloudflare’s worker runtime through a compatibility layer, allowing for efficient deployment and scalability. With prelease packages available for testing, developers can explore the latest features and updates before committing to production use.