This example demonstrates basic use of faast.js in TypeScript, using the "local" provider (no cloud credentials required).
-
Node 8+.
-
TypeScript 3.3 or above. Install globally:
$ npm install -g typescript
$ npm install
$ npm run build
$ node dist/index.js
hello world!