0.0.6 • Published 5 years ago
saber-httpserver v0.0.6
saber-httpserver
saber-httpserver
# from npm
npm install saber-httpserver
# from github
git clone https://github.com/Saber2pr/saber-httpserver.git
For example:
HttpServer({
port: 3000,
Logger: {
method: true,
api: true,
value: true,
pathname: true
},
message: 'listening...',
publicDir: '/public'
})
start
npm install
# auto compile to commonjs
npm start
# run app
npm run lau
# test
npm test
Author: saber2pr
develope and test
you should write ts in /src
you should make test in /src/test
export your core in /src/index.ts!