@lambda-middleware/ie-no-open
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@lambda-middleware/ie-no-open

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.

Usage

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);

/@lambda-middleware/ie-no-open/

    Package Sidebar

    Install

    npm i @lambda-middleware/ie-no-open

    Weekly Downloads

    4

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    9.18 kB

    Total Files

    11

    Last publish

    Collaborators

    • dbartholomae