Fetches JSON data from a public API and transforms it with an optional jq query.
- Set URL to
https://cat-fact.herokuapp.com/facts
to fetch cat facts. - Set query to
.[0].text
to get the text of the first fact.
$ npm install
$ npm run build
$ npm test