New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-http-static-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-http-static-server

Node http server for static files

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

node-http-static-server

A http server for static files. 只需一句命令,便可以快速在任意目录下创建一个http静态文件服务器。

Get started

Install

npm install node-http-static-server -g

Usage

cd mydoc
hs #启动 http,根目录为 mydoc

Arguments

Options: -h, --help Output usage information -p, --port [number] The port on which the app will be running (defaults to 3000) -r, --root [value] http server root dir (defaults to ".") -v, --version Output the version number

hs -p 80 # listening on 80 port

FAQs

Package last updated on 22 Jun 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