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]

Dependents (0)

Package Sidebar

Install

npm i localhost-listen-all

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

5.66 kB

Total Files

5

Last publish

Collaborators

  • schwefelhexa-personal