{"id":15685508,"url":"https://github.com/transitive-bullshit/github-is-starred","last_synced_at":"2025-05-07T17:11:21.426Z","repository":{"id":143880108,"uuid":"140884645","full_name":"transitive-bullshit/github-is-starred","owner":"transitive-bullshit","description":"Checks if a user has starred a particular GitHub repo.","archived":false,"fork":false,"pushed_at":"2020-07-11T23:12:39.000Z","size":88,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-20T01:09:00.142Z","etag":null,"topics":["github","github-api","star","starred"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/transitive-bullshit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-13T19:16:09.000Z","updated_at":"2024-06-17T03:23:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"87a96f81-d013-4e63-a729-c4fcd5f6c279","html_url":"https://github.com/transitive-bullshit/github-is-starred","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fgithub-is-starred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fgithub-is-starred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fgithub-is-starred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transitive-bullshit%2Fgithub-is-starred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transitive-bullshit","download_url":"https://codeload.github.com/transitive-bullshit/github-is-starred/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221215701,"owners_count":16778395,"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":["github","github-api","star","starred"],"created_at":"2024-10-03T17:25:50.510Z","updated_at":"2024-10-23T17:20:27.195Z","avatar_url":"https://github.com/transitive-bullshit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-is-starred\n\n\u003e Checks if a user has starred a particular GitHub repo.\n\n[![NPM](https://img.shields.io/npm/v/github-is-starred.svg)](https://www.npmjs.com/package/github-is-starred) [![Build Status](https://travis-ci.com/transitive-bullshit/github-is-starred.svg?branch=master)](https://travis-ci.com/transitive-bullshit/github-is-starred) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save github-is-starred\n```\n\n## Usage\n\n```js\nconst githubIsStarred = require('github-is-starred')\n\nawait githubIsStarred({\n  username: 'blaise-hansen',\n  repo: 'transitive-bullshit/create-react-library'\n}) // =\u003e true\n```\n\n## API\n\n\u003c!-- Generated by documentation.js. Update this documentation by updating the source code. --\u003e\n\n### githubIsStarred\n\nChecks if a user has starred a particular GitHub repo.\n\nType: `function (opts): Promise`\n\n-   `opts` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** Config options\n    -   `opts.username` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** GitHub username of user to check\n    -   `opts.repo` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Full name of GitHub repo to check\n    -   `opts.client` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** Optional authenticated `@octokit/rest` client\n\n## Related\n\n-   [github-is-starred-cli](https://github.com/transitive-bullshit/github-is-starred-cli) - CLI for this module.\n-   [@octokit/rest](https://github.com/octokit/rest.js) - GitHub REST API client for Node.js.\n\n## License\n\nMIT © [Travis Fischer](https://github.com/transitive-bullshit)\n\nSupport my OSS work by \u003ca href=\"https://twitter.com/transitive_bs\"\u003efollowing me on twitter \u003cimg src=\"https://storage.googleapis.com/saasify-assets/twitter-logo.svg\" alt=\"twitter\" height=\"24px\" align=\"center\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransitive-bullshit%2Fgithub-is-starred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransitive-bullshit%2Fgithub-is-starred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransitive-bullshit%2Fgithub-is-starred/lists"}