View on GitHub


A collection of middleware for AWS lambda functions.


npm version downloads open issues debug build status codecov dependency status devDependency status

A middleware for adding the download options no-open header for Internet Explorer to AWS lambdas.

Lambda middleware

This middleware is part of the lambda middleware series. It can be used independently.


import { ieNoOpen } from "@lambda-middleware/ie-no-open";

// This is your AWS handler
async function helloWorld() {
  return {
    statusCode: 200,
    body: "{}",

// Wrap the handler with the middleware
export const handler = ieNoOpen()(helloWorld);