Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

fast-http-server

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-http-server

Quickly get a http server running to serve the current folder.

latest
npmnpm
Version
0.2.1
Version published
Weekly downloads
3
-62.5%
Maintainers
1
Weekly downloads
 
Created
Source

Fast HTTP Server

Quickly get a http server running to serve the current folder.

Installing

npm install -g fast-http-server

Using

http-server static

Will serve all the files on the specified directory.

Options

  • --port={port_number}[default 8080]
  • --dir={relative_path}[default ./]
  • --help

Using

http-server proxy

Will proxy all the request to localhost:specified_port to the specified host name. Used to avoid CORS errors.

Options

  • --port={port_number}[default 8080]
  • --host={FQDN}[default 'http://localhost:80']
  • --help

Authors

  • Santiago Rolca - Initial work - Santiiiii

License

This project is licensed under the MIT License - see the LICENSE.md file for details ~

FAQs

Package last updated on 09 Feb 2018

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