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

leo-http-server

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

leo-http-server

一款静态文件服务器命令行工具

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

leo-http-server

一个静态文件服务器

使用

安装:

npm install http-server-leo

具体举例:

# 使用
hsl --port <prot> --directory <directory>

# 或者简写
hsl -p 3000 -d D: 

npx hsl -p 3000

表示在 D: 盘下开启一个静态服务,以 3000 为端口。端口默认值为 3000,目录默认值为当前命令运行的目录。如下静态文件服务器开启成功。

可以在浏览器中访问了:

Keywords

static server

FAQs

Package last updated on 27 Aug 2021

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