New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kaninchenspeed/quickhost

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaninchenspeed/quickhost

```bash npm i -g quickhost ```

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

A quick hosting package

npm i -g quickhost
quickhost --port <your port>

Features

  • https support
  • auto https redirects
  • index file overrides
  • root path overrides

Arguments

--port <port>

sets the port of the http server

--httpsPort <port>

sets the port of the https server

--cert <ABSOLUTE path to cert file> (https only)

sets the ABSOLUTE path to the certificate file

--key <ABSOLUTE path to private key file> (https only)

sets the ABSOLUTE path to the private key file

--httpRedirect <target url>

replaces the http server with a server which redirects all users to the specified url

--onlyHttps true

disables the http server. This does NOT disable the redirect server!

--root <RELATIVE path to webroot directory>

sets the root directory of the web serever.

This is RELATIVE to the current woring directory!

--index <RELATIVE path from webroot to index.html>

set the file to get send on "/".

This is RELATIVE to the webroot directory specified with --root or the current working directory!

Additional Info

This package uses express and https. It starts a http1.1 server (http2 support coming soon).

FAQs

Package last updated on 25 Jul 2022

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