{"id":25558545,"url":"https://github.com/huauauaa/maojian","last_synced_at":"2026-04-18T00:02:25.595Z","repository":{"id":61859029,"uuid":"555760343","full_name":"Huauauaa/maojian","owner":"Huauauaa","description":"git info","archived":false,"fork":false,"pushed_at":"2022-10-23T13:23:32.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-01T23:41:53.882Z","etag":null,"topics":["git","npm","tea"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@harvey0379/maojian","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/Huauauaa.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":"2022-10-22T09:03:58.000Z","updated_at":"2022-10-23T14:15:31.000Z","dependencies_parsed_at":"2023-01-20T11:40:03.135Z","dependency_job_id":null,"html_url":"https://github.com/Huauauaa/maojian","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Huauauaa/maojian","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huauauaa%2Fmaojian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huauauaa%2Fmaojian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huauauaa%2Fmaojian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huauauaa%2Fmaojian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Huauauaa","download_url":"https://codeload.github.com/Huauauaa/maojian/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huauauaa%2Fmaojian/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278916433,"owners_count":26068091,"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-10-08T02:00:06.501Z","response_time":56,"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","npm","tea"],"created_at":"2025-02-20T16:18:58.126Z","updated_at":"2025-10-08T08:57:45.533Z","avatar_url":"https://github.com/Huauauaa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maojian\n\n\u003e maojian (毛尖) is a kind of tea.\n\n\u003e Get git info from `.git`\n\n## Usage\n\n`yarn add @harvey0379/maojian`\n\n### mjs\n\n```js\nconst getGitInfo = require('@harvey0379/maojian');\nconst gitInfo = getGitInfo();\n```\n\n### esm\n\n```js\nimport getGitInfo from '@harvey0379/maojian';\nconst gitInfo = getGitInfo();\n```\n\n## Typescript Support\n\n```ts\nimport getGitInfo, { GitInfo, Params } from '@harvey0379/maojian';\n\nconst param: Params = {};\nconst gitInfo: GitInfo = getGitInfo(param);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuauauaa%2Fmaojian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuauauaa%2Fmaojian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuauauaa%2Fmaojian/lists"}