@faasjs/server
TypeScript icon, indicating that this package has built-in type declarations

0.0.4-beta.2 • Public • Published

@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[]

Keywords

none

Install

DownloadsWeekly Downloads

1,203

Version

0.0.4-beta.2

License

MIT

Unpacked Size

27.9 kB

Total Files

7

Last publish

Collaborators

  • zfben