static-cdn

1.0.0 • Public • Published

static-cdn

A simple static web server by node.js

Install

npm install static-cdn

Config

See ./lib/config.js

you can edit default file name and error response text

Usage

node nodinx rootdir [port]
  • rootdir Must, the web server root directory, must be absolute path
  • port Optional, listen port, default is 80

Package Sidebar

Install

npm i static-cdn

Weekly Downloads

2

Version

1.0.0

License

GPL-3.0

Last publish

Collaborators

  • wallax