New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

saber-httpserver

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saber-httpserver

saber-httpserver

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

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!

FAQs

Package last updated on 02 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts