0.0.6 • Published 5 years ago

saber-httpserver v0.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

saber-httpserver

npm.io

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!

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago