1.0.6 • Published 5 years ago

express-xs-server v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

The simple server creator based on Express by Chivenh FhTiger

Example

    let testServer = require("express-xs-server");
    let staticWeb = testServer.listen({
        use: ['/web', '/main','/modulesHandler'],//static source
        prepare:function (testServer) {
            //init before test created.
            testServer.post(/*......*/);
            testServer.get(/*......*/);
            /*add so on ......*/
        },
       port:8049    //port,if not set ,the default value is 8049.
    }); //开启服务(默认8049).
1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago