Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fknop/http2-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fknop/http2-server

HTTP2 static directory server written with Hapi

  • 1.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@fknop/http2-server

Simple http2 server written with HapiJS. Not many features, just created this for my use case.

Install

$ npm install -g @fknop/http2-server

Options

  • port (--port): The port on which the server will be running. Default to 9090.
  • path (--path): The path to the directory to be served. Default to current directory.
  • index (--index): The index file name. Default to index.html.
  • listing (--listing): If no index can be found, list the files in the directory. Default to true.
  • open (--open): If present, will open the url in a browser. If no browser is specified, it will open with chrome.
    • http2-server --open: Open with chrome
    • http2-server --open firefox: Open with firefox

Notes

Don't forget to add the https before the localhost in the url.

FAQs

Package last updated on 02 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc