{"id":23826007,"url":"https://github.com/dacrol/node-current-branch","last_synced_at":"2026-05-03T20:40:07.853Z","repository":{"id":65424630,"uuid":"123964643","full_name":"Dacrol/node-current-branch","owner":"Dacrol","description":"Gets the current Git branch in Node","archived":false,"fork":false,"pushed_at":"2018-03-05T20:22:55.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-29T12:21:03.442Z","etag":null,"topics":["git","javascript","nodejs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/node-current-branch","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/Dacrol.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}},"created_at":"2018-03-05T18:59:52.000Z","updated_at":"2023-04-11T15:22:34.000Z","dependencies_parsed_at":"2023-01-23T01:55:11.566Z","dependency_job_id":null,"html_url":"https://github.com/Dacrol/node-current-branch","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/Dacrol%2Fnode-current-branch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dacrol%2Fnode-current-branch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dacrol%2Fnode-current-branch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dacrol%2Fnode-current-branch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dacrol","download_url":"https://codeload.github.com/Dacrol/node-current-branch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240113942,"owners_count":19749829,"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","javascript","nodejs"],"created_at":"2025-01-02T12:14:07.514Z","updated_at":"2026-05-03T20:40:07.568Z","avatar_url":"https://github.com/Dacrol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## [node-current-branch](https://www.npmjs.com/package/node-current-branch)\n\nGets the current Git branch in Node. Nothing else, nothing more.\n\n### Usage:\n\n```javascript\nconst branch = require('node-current-branch')\n\nconst branchName = branch()\nconsole.log(branchName)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacrol%2Fnode-current-branch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdacrol%2Fnode-current-branch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacrol%2Fnode-current-branch/lists"}