node-local-server

1.0.4 • Public • Published

node-local-server

A Server Mapping Local Files Based On Node.js

Usage

  1. edit settings.json, set your local file directory
  2. sh run.sh or sudo node index.js

Notice

  • the application runs at port 80

Settings(in settings.json)

  • localDir - the local directory
  • port - server port, default is 80
  • debug - console filename if it is true, default is true

Readme

Keywords

none

Package Sidebar

Install

npm i node-local-server

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • xiaoping