1.1.0 • Published 9 years ago

node-simple-static-server v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

npm npm Dependency Status devDependency Status Build Status Coverage Status

#node-simple-static-server

Simple Static Server

for install you need to run this command:

$ npm install node-simple-static-server

OPTIONS

##port default: 9000,

##dir default: './'

##log ###logs default: true

log file success

###loge default: true

log file error

##gzip default: false

##cache default: 3600

##cwd default: process.cwd()

Usage

in module

// ./static-server.js
var server = require('node-simple-static-server');
var options = {
   port: 9000
   // ...
}
server.run( options );
$ node ./static-server.js --port=9000 --cwd=/home/user/www/project/static/
1.1.0

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.0

10 years ago