@fastly/next-compute-js-server-12.3.0
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

Next.js Runtime Server on Fastly Compute

This is an implementation of Next.js's BaseServer for Fastly Compute, and the behavior is modeled highly off of NextNodeServer. It enables running pages and API routes that target the nodejs runtime on Compute.

NextWebServer (the Edge Runtime version) should be possible to run without this port.

There is a separate library that corresponds to each release of Next.js, maintained in separate branches of this library.

The versions of Next.js that this library is compatible with are listed in the COMPATIBLE_NEXT_VERSIONS constant in ./src/node/function-transform/constants.ts.

Usage

This library is typically used with @fastly/next-compute-js, to implement the runtime for pages and API routes that target the nodejs runtime. See @fastly/next-compute-js for more details.

Issues

If you encounter any non-security-related bug or unexpected behavior, please file an issue using the bug report template.

Security issues

Please see our SECURITY.md for guidance on reporting security-related issues.

License

MIT.

Readme

Keywords

none

Package Sidebar

Install

npm i @fastly/next-compute-js-server-12.3.0

Weekly Downloads

85

Version

0.3.1

License

MIT

Unpacked Size

67.8 kB

Total Files

26

Last publish

Collaborators

  • js312-fastly
  • cbillingsley
  • elemalecot-fastly
  • therealdoramatadora
  • harmony7
  • triblondon
  • fgsch
  • pabergman
  • philippschulte
  • thommahoney
  • patrickhamann
  • squeemishly
  • lturk
  • tomyoung
  • nilium
  • johnmdonahue
  • uberfuzzyfastly
  • fashtley
  • mccurdyc
  • anachronism