1.0.2 • Published 7 years ago
mini-server v1.0.2
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