This project repo is no longer being maintained. For more information on code-gov repos, go to GSA/code-gov.
Parse out information from code.gov repos
Repeating a lot of code between front-end and code-gov-data
import { getAgencies } from '@code.gov/repos-parser
fetch("https://api.code.gov/repos?api_key=DEMO_KEY")
.then(response => response.json())
.then(data => data.repos)
.then(getAgencies)
.then(console.log)