Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 546 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 546 Bytes

DEPRECATED

This project repo is no longer being maintained. For more information on code-gov repos, go to GSA/code-gov.

code-gov-repos-parser

Parse out information from code.gov repos

Why?

Repeating a lot of code between front-end and code-gov-data

Usage

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)

Contact

[email protected]