Skip to content

Example script to demonstrate type-checking API data with Flow

Notifications You must be signed in to change notification settings

hallettj/flow-cookbook-hacker-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacker-news-example

Example script to demonstrate type-checking API data with Flow. This is example code from the article Flow Cookbook: Unpacking JSON API data.

Source code is in index.js.flow.

Requires yarn

Install project dependencies before running the code or running the type checker:

yarn install

To run the code:

yarn start

To run Flow type-checking:

yarn run flow

About

Example script to demonstrate type-checking API data with Flow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published