@dvargas92495/remix-lambda-at-edge
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Remix Adapter for CloudFront Lambda@Edge

This adapter transforms CloudFront Origin Request Events into Web Fetch API Request and Response objects using the adapter convention set out in the Remix Docs.

Usage

import { createRequestHandler } from "???";

export const handler = createRequestHandler({
  build: require("./build"),
  getLoadContext: event => {
    // access to raw CloudFront event to provide context to loaders
  }
});

Dependents (0)

Package Sidebar

Install

npm i @dvargas92495/remix-lambda-at-edge

Weekly Downloads

1

Version

0.2.0

License

none

Unpacked Size

8.46 kB

Total Files

9

Last publish

Collaborators

  • dvargas92495