@furystack/http-api

HTTP Api FuryStack package

Stats

StarsIssuesVersionUpdatedCreatedSize
@furystack/http-api
015.3.212 years ago3 years agoMinified + gzip package size for @furystack/http-api in KB

Readme

@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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.