{"id":26548651,"url":"https://github.com/tmr08c/weekly-summary-typescript","last_synced_at":"2026-04-14T00:02:11.477Z","repository":{"id":34890853,"uuid":"186278927","full_name":"tmr08c/weekly-summary-typescript","owner":"tmr08c","description":"A module used to interact with the GitHub API to fetch recently closed Pull Requests.","archived":false,"fork":false,"pushed_at":"2023-04-23T13:50:13.000Z","size":1104,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T04:45:34.486Z","etag":null,"topics":["circle-ci","circleci","github-api","graphql","npm-package","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmr08c.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-12T16:35:05.000Z","updated_at":"2021-09-30T00:24:46.000Z","dependencies_parsed_at":"2023-01-15T09:58:53.976Z","dependency_job_id":null,"html_url":"https://github.com/tmr08c/weekly-summary-typescript","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmr08c%2Fweekly-summary-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmr08c%2Fweekly-summary-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmr08c%2Fweekly-summary-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmr08c%2Fweekly-summary-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmr08c","download_url":"https://codeload.github.com/tmr08c/weekly-summary-typescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244914186,"owners_count":20530974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circle-ci","circleci","github-api","graphql","npm-package","typescript"],"created_at":"2025-03-22T06:19:44.610Z","updated_at":"2025-10-18T18:17:41.806Z","avatar_url":"https://github.com/tmr08c.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weekly Summary TypeScript\n\n[![npm version](https://badge.fury.io/js/weekly-summary-typescript.svg)](https://badge.fury.io/js/weekly-summary-typescript)\n[![CircleCI](https://circleci.com/gh/tmr08c/weekly-summary-typescript/tree/master.svg?style=svg)](https://circleci.com/gh/tmr08c/weekly-summary-typescript/tree/master)\n[![Coverage Status](https://coveralls.io/repos/github/tmr08c/weekly-summary-typescript/badge.svg?branch=master)](https://coveralls.io/github/tmr08c/weekly-summary-typescript?branch=master)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nThis package gets the last week of merged pull requests for a specific organization from GitHub.\n\n# Installing\n\n```bash\nnpm install weekly-summary-typescript\n```\n\n# Usage\n\n## Requsting pull requests\n\n```typescript\nimport { fetchRecentlyClosedPullRequests } from \"weekly-summary-typescript\";\n\nconst recentlyClosedPullRequests = await fetchRecentlyClosedPullRequests(\n  {\n    organization: `my-organization`\n  },\n  `my-github-auth-token`\n);\n```\n\n## Response\n\nPull requests are returned as an object where the key is the repository's name and the value is an array of objects that include information about the pull request. For example:\n\n```json\n{\n  \"weekly-summary-typescript\": [\n    {\n      \"repository\": {\n        \"name\": \"weekly-summary-typescript\"\n      },\n      \"title\": \"refactor(github): changes setup for GitHub auth token\",\n      \"createdAt\": \"2019-11-02T19:14:53Z\",\n      \"closedAt\": \"2019-11-03T10:58:15Z\",\n      \"url\": \"https://github.com/tmr08c/weekly-summary-typescript/pull/14\",\n      \"merged\": true\n    },\n    {\n      \"repository\": {\n        \"name\": \"weekly-summary-typescript\"\n      },\n      \"title\": \"chore: sets up commitizen\",\n      \"createdAt\": \"2019-11-02T19:00:06Z\",\n      \"closedAt\": \"2019-11-02T19:00:51Z\",\n      \"url\": \"https://github.com/tmr08c/weekly-summary-typescript/pull/13\",\n      \"merged\": true\n    }\n  ]\n}\n```\n\nType definitions can be found [here](https://github.com/tmr08c/weekly-summary-typescript/blob/f3aa636e1a2aa4d97d404b97e90f3390bc397ce4/src/github.ts#L29).\n\nYou can also check out [this project](https://github.com/tmr08c/weekly-summary-cron-with-now) for an example of how this package is used in production.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmr08c%2Fweekly-summary-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmr08c%2Fweekly-summary-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmr08c%2Fweekly-summary-typescript/lists"}