This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generate io-ts codecs and types for JSON data from a set of samples using jq, quicktype and io-ts-codegen | |
Usage: | |
# collect samples | |
for i in $(seq 1 10); do | |
wget -P samples/ https://api.github.com/events && sleep 2 | |
done |