{"id":16652698,"url":"https://github.com/gabrielczar/git-properties","last_synced_at":"2026-04-30T16:31:20.349Z","repository":{"id":42716829,"uuid":"289714351","full_name":"GabrielCzar/git-properties","owner":"GabrielCzar","description":"Generate git.properties.json with basic git properties like current git commit hash, branch, and time.","archived":false,"fork":false,"pushed_at":"2023-01-07T20:57:58.000Z","size":185,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T07:48:57.603Z","etag":null,"topics":["git","module","nodejs","properties"],"latest_commit_sha":null,"homepage":"","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/GabrielCzar.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":"2020-08-23T15:31:54.000Z","updated_at":"2020-08-23T21:31:32.000Z","dependencies_parsed_at":"2023-02-08T01:47:41.889Z","dependency_job_id":null,"html_url":"https://github.com/GabrielCzar/git-properties","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GabrielCzar/git-properties","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fgit-properties","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fgit-properties/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fgit-properties/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fgit-properties/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielCzar","download_url":"https://codeload.github.com/GabrielCzar/git-properties/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fgit-properties/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267709654,"owners_count":24131927,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","module","nodejs","properties"],"created_at":"2024-10-12T09:29:22.653Z","updated_at":"2026-04-30T16:31:20.268Z","avatar_url":"https://github.com/GabrielCzar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-properties\n\n#### How to use\n\n```js\nimport gitProperties from \"git-properties\";\n\nasync () =\u003e {\n  await gitProperties();\n};\n```\n\n| Parameters | Description                               | Default                      |\n| ---------- | ----------------------------------------- | ---------------------------- |\n| destFile   | Set the destination of the generated file | Default to project root path |\n\n#### Scripts:\n\n- `yarn build`\n- `yarn test`\n\n#### Example output:\n\n\u003e git.properties.json\n\n```json5\n{\n  branch: \"master\",\n  commit: {\n    message: \"update README.md\",\n    id: \"8c7f48581094cb1e9ce68f33f2631e3bd7927591\",\n    time: \"2020-08-23T00:00:00.000Z\",\n    user: { name: \"User\", email: \"user@email.com\" },\n  },\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielczar%2Fgit-properties","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielczar%2Fgit-properties","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielczar%2Fgit-properties/lists"}