mini-server

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i mini-server

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • richardgong1987