Nocturnal Pumpkin Maelstrom

    @furystack/http-api
    TypeScript icon, indicating that this package has built-in type declarations

    5.3.21 • Public • Published

    @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

    Install

    npm i @furystack/http-api

    DownloadsWeekly Downloads

    0

    Version

    5.3.21

    License

    GPL-2.0

    Unpacked Size

    231 kB

    Total Files

    203

    Last publish

    Collaborators

    • gallayl