flow-cookbook-hacker-news

1.0.0 • Public • Published

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

/flow-cookbook-hacker-news/

    Package Sidebar

    Install

    npm i flow-cookbook-hacker-news

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • hallettj