Have ideas to improve npm?Join in the discussion! »

    localhost-listen-all

    1.0.1 • Public • Published

    localhost-listen-all

    A small node utility that listens to all incoming HTTP(S) requests on a specific port. Useful for stuff like testing webhooks.

    Installation

    npm install localhost-listen-all

    Usage

    HTTP

    localhost-listen-all [PORT]

    Where [PORT] is the port to listen on.

    HTTPS

    localhost-listen-all [PORT] --https

    Where [PORT] is the port to listen on.

    Make sure you are in a folder with server.crt and server.key as you SSL certificate.

    If your cert files are in another location, specify them using

    localhost-listen-all [PORT] --https --cert [PATH_TO_.crt] --key [PATH_TO_.key]

    Install

    npm i localhost-listen-all

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    5.66 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar