Documents / @faasjs/core
@faasjs/core
@faasjs/core
FaasJS core package.
Install
npm install @faasjs/core
The package exports function lifecycle primitives, HTTP API helpers, middleware, and the local HTTP server. The package default export is the built-in Http plugin.
Functions
- closeAll
- defineApi
- getAll
- nameFunc
- parseApiFilenameFromStack
- staticHandler
- useMiddleware
- useMiddlewares
Classes
References
default
Renames and re-exports Http
Type Aliases
- Config
- CookieOptions
- DefineApiData
- ExportedHandler
- FuncConfig
- FuncEventType
- FuncReturnType
- FuncRuntime
- Handler
- HttpConfig
- HttpResponseBody
- HttpSetBody
- HttpSetContentType
- HttpSetHeader
- HttpSetStatusCode
- InvokeData
- LifecycleKey
- Middleware
- MiddlewareContext
- MiddlewareEvent
- MountData
- Next
- Plugin
- Response
- RuntimeContext
- ServerHandlerOptions
- ServerOptions
- SessionContent
- SessionOptions
- StaticHandlerOptions