Socket
Socket
Sign inDemoInstall

power-serve

Package Overview
Dependencies
222
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    power-serve

a nodejs static server


Version published
Weekly downloads
1
Maintainers
1
Install size
12.7 MB
Created
Weekly downloads
 

Readme

Source

power-serve

Tiny NodeJS Static Web server

安装

npm i -g power-serve

使用方法

power-serve # 把当前文件夹作为静态资源服务器根目录

power-serve -p 8080 # 设置端口号为 8080

power-serve -h localhost # 设置 host 为 localhost

power-serve -d /usr # 设置根目录为 /usr

Keywords

FAQs

Last updated on 08 Feb 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc