@types/express-enforces-ssl
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Installation

npm install --save @types/express-enforces-ssl

Summary

This package contains type definitions for express-enforces-ssl (https://github.com/aredo/express-enforces-ssl).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-enforces-ssl.

index.d.ts

import { NextFunction, Request, Response } from "express";

/**
 * Enforces HTTPS connections on any incoming requests.
 */
declare function enforceHTTPS(): (req: Request, res: Response, next: NextFunction) => void;

export = enforceHTTPS;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:36 GMT
  • Dependencies: @types/express

Credits

These definitions were written by Kevin Stubbs.

/@types/express-enforces-ssl/

    Package Sidebar

    Install

    npm i @types/express-enforces-ssl

    Weekly Downloads

    1,037

    Version

    1.1.4

    License

    MIT

    Unpacked Size

    3.21 kB

    Total Files

    5

    Last publish

    Collaborators

    • types