🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@furystack/http-api

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@furystack/http-api

HTTP Api FuryStack package

5.3.21
latest
Source
npm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

@furystack/http-api

Usage example

const i = new Injector()
i.useHttpApi({
  /** custom http settings */
})
  .useHttpAuthentication({
    /** custom auth settings */
  })
  .addHttpRouting(req => {
    /** custom logic to resolve action(s) from the incoming request */
  })
  .useDefaultLoginRoutes() // register '/login', '/currentUser' and '/logout' actions
  .listenHttp() // start listening

Keywords

FuryStack

FAQs

Package last updated on 05 Mar 2020

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