flow-cookbook-hacker-news
v1.0.0
Published
Example that demonstrates type-checking API data with Flow
Downloads
1
Readme
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