{"id":20395410,"url":"https://github.com/jpeer264/node-git-needs-push","last_synced_at":"2026-05-10T05:53:27.507Z","repository":{"id":66098627,"uuid":"91267619","full_name":"JPeer264/node-git-needs-push","owner":"JPeer264","description":"Check synchronously if a git repository needs to push","archived":false,"fork":false,"pushed_at":"2017-05-15T16:02:59.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T21:37:44.147Z","etag":null,"topics":["git","is-git","needs-push","nodejs","push"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JPeer264.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-05-14T19:51:45.000Z","updated_at":"2018-05-09T14:03:58.000Z","dependencies_parsed_at":"2024-02-04T21:09:05.233Z","dependency_job_id":null,"html_url":"https://github.com/JPeer264/node-git-needs-push","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPeer264%2Fnode-git-needs-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPeer264%2Fnode-git-needs-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPeer264%2Fnode-git-needs-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPeer264%2Fnode-git-needs-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JPeer264","download_url":"https://codeload.github.com/JPeer264/node-git-needs-push/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241945473,"owners_count":20046865,"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":["git","is-git","needs-push","nodejs","push"],"created_at":"2024-11-15T03:57:25.110Z","updated_at":"2026-05-10T05:53:27.477Z","avatar_url":"https://github.com/JPeer264.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-needs-push\n\n[![Build Status](https://travis-ci.org/JPeer264/node-git-needs-push.svg?branch=master)](https://travis-ci.org/JPeer264/node-git-needs-push)\n\nCheck synchronously if a git repository needs to push. If a branch is just local it will be `true` (as a push is required)\n\n## Installation\n\n```sh\n$ npm i git-needs-push --save\n```\nor\n```sh\n$ yarn add git-needs-push\n```\n\n## Usage\n\n```js\nconst needsPush = require('git-needs-push');\n\nneedsPush(); // true or false of process.cwd()\nneedsPush('any/git/repo'); // true or false\n```\n\n## LICENSE\n\nMIT © [Jan Peer Stöcklmair](https://www.jpeer.at)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpeer264%2Fnode-git-needs-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpeer264%2Fnode-git-needs-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpeer264%2Fnode-git-needs-push/lists"}