Last active
January 15, 2021 21:52
-
-
Save mxdvl/be9f5aeb78350a0f61db491066ffde40 to your computer and use it in GitHub Desktop.
Guardian Repos
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
import { writeCSV } from "https://deno.land/x/csv/mod.ts"; | |
const repos = await fetch("https://api.github.com/orgs/guardian/repos?per_page=100&sort=updated&direction=desc").then(r => r.json()) | |
const columns = ["name", "updated_at", "language"] | |
const f = await Deno.open("./guardian-repos.csv", { write: true, create: true, truncate: true }); | |
const rows = [ | |
columns, | |
...(repos.map((repo: Record<string, string>) => { | |
const row: string[] = [] | |
columns.map(col => row.push(repo[col] || "???")) | |
return row; | |
})) | |
]; | |
await writeCSV(f, rows); | |
f.close(); |
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
name | updated_at | language | |
---|---|---|---|
content-api-models | 2021-01-15T19:18:17Z | Thrift | |
cdk | 2021-01-15T18:20:15Z | TypeScript | |
atoms-rendering | 2021-01-15T17:36:22Z | TypeScript | |
support-frontend | 2021-01-15T17:12:15Z | Scala | |
VaultDoor | 2021-01-15T16:43:38Z | Scala | |
apps-rendering | 2021-01-15T16:00:18Z | TypeScript | |
manage-frontend | 2021-01-15T15:45:57Z | TypeScript | |
grid | 2021-01-15T15:20:37Z | Scala | |
dotcom-rendering | 2021-01-15T15:17:35Z | TypeScript | |
mobile-apps-article-templates | 2021-01-15T15:13:34Z | SCSS | |
image-rendering | 2021-01-15T15:11:40Z | TypeScript | |
mobile-purchases | 2021-01-15T15:10:26Z | Scala | |
types | 2021-01-15T14:45:02Z | TypeScript | |
support-dotcom-components | 2021-01-15T12:07:37Z | TypeScript | |
redact-pdf | 2021-01-15T10:24:25Z | Scala | |
frontend | 2021-01-15T10:15:35Z | HTML | |
gateway | 2021-01-15T09:21:16Z | TypeScript | |
support-service-lambdas | 2021-01-15T08:42:47Z | Scala | |
editions | 2021-01-15T07:26:05Z | TypeScript | |
toolargetool | 2021-01-15T06:26:31Z | Kotlin | |
prosemirror-typerighter | 2021-01-14T21:13:18Z | TypeScript | |
commercial-core | 2021-01-14T19:53:33Z | TypeScript | |
manage-help-content-publisher | 2021-01-14T17:36:59Z | Scala | |
consent-management-platform | 2021-01-14T16:49:12Z | CSS | |
diversity-score | 2021-01-14T14:44:25Z | Scala | |
support-admin-console | 2021-01-14T14:28:00Z | TypeScript | |
scrooge-extras | 2021-01-14T14:16:15Z | Scala | |
amigo | 2021-01-14T12:40:26Z | Scala | |
interactive-atom-secureContact | 2021-01-14T11:02:10Z | HTML | |
source | 2021-01-14T10:30:12Z | TypeScript | |
newsletters-list-cleanse | 2021-01-14T09:56:07Z | Scala | |
plundering-the-pacific | 2021-01-14T00:43:53Z | HTML | |
scribe | 2021-01-13T19:40:01Z | JavaScript | |
prout | 2021-01-13T18:25:09Z | Scala | |
prism | 2021-01-13T17:07:35Z | Scala | |
anghammarad | 2021-01-13T15:17:07Z | Scala | |
discussion-rendering | 2021-01-13T12:50:03Z | TypeScript | |
theguardian.design | 2021-01-13T11:06:08Z | CSS | |
braze-components | 2021-01-13T10:52:12Z | TypeScript | |
cdk-cli | 2021-01-13T10:01:17Z | TypeScript | |
interactive-wildfire-2020 | 2021-01-12T17:24:41Z | HTML | |
libs | 2021-01-12T16:20:36Z | TypeScript | |
kinesis-logback-appender | 2021-01-12T15:19:50Z | Java | |
members-data-api | 2021-01-12T15:19:15Z | Scala | |
rendering | 2021-01-12T14:20:37Z | ??? | |
source-shakedown | 2021-01-12T11:45:36Z | TypeScript | |
elasticsearch-node-rotation | 2021-01-12T09:25:17Z | TypeScript | |
typerighter | 2021-01-11T20:16:40Z | Scala | |
strap | 2021-01-11T17:17:10Z | Shell | |
interactive-atom-secure-drop | 2021-01-11T15:43:06Z | HTML | |
interactive-atom-football100-2019-thrasher | 2021-01-11T15:31:02Z | HTML | |
interactive-atom-trusted-news-thrasher | 2021-01-11T15:28:10Z | HTML | |
interactive-atom-netflix-thrasher | 2021-01-11T15:21:06Z | HTML | |
interactive-atom-frontline-header | 2021-01-11T13:18:46Z | HTML | |
fastly-cache-purger | 2021-01-11T12:45:39Z | Scala | |
master-to-main | 2021-01-11T11:58:46Z | TypeScript | |
security-hq | 2021-01-11T11:17:38Z | Scala | |
interactive-economic-dashboard-v3 | 2021-01-11T10:29:35Z | HTML | |
html-janitor | 2021-01-11T03:46:03Z | JavaScript | |
ses-send-email-lambda | 2021-01-09T05:54:52Z | JavaScript | |
interactive-coronavirus-second-waves | 2021-01-08T12:18:40Z | HTML | |
configs | 2021-01-07T21:01:01Z | JavaScript | |
aws-canaries | 2021-01-07T19:05:20Z | JavaScript | |
amiup | 2021-01-07T15:08:39Z | Scala | |
play-googleauth | 2021-01-07T11:54:00Z | Scala | |
bonobo | 2021-01-07T11:46:47Z | Scala | |
dev-nginx | 2021-01-06T21:44:43Z | Shell | |
feature-desk | 2021-01-06T16:18:56Z | Kotlin | |
football-assets | 2021-01-06T14:10:18Z | JavaScript | |
kotlin-linter | 2021-01-06T13:50:43Z | Kotlin | |
social-sign-in | 2021-01-06T10:12:59Z | Scala | |
elk-stack | 2021-01-06T09:46:49Z | JavaScript | |
aws-opted-in-regions | 2021-01-06T08:50:22Z | Scala | |
prosemirror-noting | 2021-01-06T02:26:47Z | JavaScript | |
homebrew-devtools | 2021-01-05T16:17:49Z | Ruby | |
editorial-emails | 2021-01-05T16:14:48Z | TypeScript | |
tag-janitor | 2021-01-05T13:23:55Z | TypeScript | |
live-app-versions | 2021-01-05T12:06:45Z | Scala | |
guardian.github.com | 2021-01-05T05:39:19Z | HTML | |
floodgate | 2021-01-05T00:01:33Z | Scala | |
guardian-configuration | 2021-01-04T17:09:20Z | Scala | |
riff-raff | 2021-01-03T14:55:45Z | Scala | |
inspector-lambda | 2021-01-02T22:09:12Z | Scala | |
coding-exercises | 2020-12-31T22:25:22Z | ??? | |
our-engineering-culture | 2020-12-30T02:23:44Z | ??? | |
machine-images | 2020-12-28T07:16:52Z | Ruby | |
athena-cli | 2020-12-27T00:57:12Z | Python | |
gudocs | 2020-12-23T17:18:30Z | JavaScript | |
identity-test-users | 2020-12-23T14:27:43Z | Scala | |
facia-tool | 2020-12-22T10:35:25Z | JavaScript | |
interactive-atom-working-report-2020 | 2020-12-21T10:25:25Z | HTML | |
docs-interactive-template | 2020-12-21T10:22:13Z | HTML | |
interactive-congestion-tiles | 2020-12-18T14:48:15Z | ??? | |
membership-frontend | 2020-12-18T12:34:57Z | Scala | |
content-api-scala-client | 2020-12-18T11:05:16Z | Scala | |
nsw-charts-and-map-scripts | 2020-12-18T05:10:42Z | Python | |
login.gutools | 2020-12-17T15:50:48Z | Scala | |
yacht-charter | 2020-12-17T08:11:42Z | JavaScript | |
style-guide-scraper | 2020-12-17T04:33:22Z | Python | |
play-brotli-filter | 2020-12-16T18:13:38Z | Scala |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run with