Documents / @faasjs/server
@faasjs/server
FaasJS's server module.
Install
npm install @faasjs/server
Routing
Static routing:
/
->index.func.ts
orindex.func.tsx
/path
->path.func.ts
orpath.func.tsx
orpath/index.func.ts
orpath/index.func.tsx
Dynamic routing:
/*
->default.func.ts
ordefault.func.tsx
/path/*
->path/default.func.ts
orpath/default.func.tsx