Skip to content

Latest commit

 

History

History
 
 

hello-world-ts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

faast.js hello world TypeScript example

This example demonstrates basic use of faast.js in TypeScript, using the "local" provider (no cloud credentials required).

Prerequisites

  • Node 8+.

  • TypeScript 3.3 or above. Install globally:

    $ npm install -g typescript

Installing dependencies

$ npm install

Building

$ npm run build

Running

$ node dist/index.js

Expected output

hello world!