This package has been deprecated

Author message:

this package is no longer update, please install @saber2pr/nana

saber-httpserver

0.0.6 • Public • Published

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!

Readme

Keywords

none

Package Sidebar

Install

npm i saber-httpserver

Weekly Downloads

3

Version

0.0.6

License

MIT

Unpacked Size

13.8 kB

Total Files

14

Last publish

Collaborators

  • npm