@faasjs/server

[![License: MIT](https://img.shields.io/npm/l/@faasjs/server.svg)](https://github.com/faasjs/faasjs/blob/main/packages/faasjs/server/LICENSE) [![NPM Stable Version](https://img.shields.io/npm/v/@faasjs/server/stable.svg)](https://www.npmjs.com/package/@fa

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@faasjs/server
8310.0.2-beta.419a day ago3 years agoMinified + gzip package size for @faasjs/server in KB

Readme

@faasjs/server
License: MIT NPM Stable Version NPM Beta Version
FaasJS's server module.

Install

npm install @faasjs/server

Routing

Static routing:
  • / -> index.func.ts or index.func.tsx
  • /path -> path.func.ts or path.func.tsx or path/index.func.ts or path/index.func.tsx

Dynamic routing:
  • /* -> default.func.ts or default.func.tsx
  • /path/* -> path/default.func.ts or path/default.func.tsx

Modules

Classes

Functions

Functions

closeAll

closeAll(): Promise<void\>

Returns

Promise<void\>

getAll

getAll(): Server

Returns

Server