mini-server
v1.0.2
Published
miniserver ==========
Downloads
2
Readme
miniserver
Install miniserver
npm install mini-server --save
miniserver( (string )absolute path,[option number] port,[options boolean] icon ) method
get started
create staticserver.js
//put the static file path,and,run, that's all, port default:8080
require('mini-server')(__dirname);
then
node staticserver.js
// boswer url:http://localhost:8080