{"id":15003464,"url":"https://github.com/umeshiscreative/av-git-operation","last_synced_at":"2026-03-27T02:16:56.271Z","repository":{"id":53520897,"uuid":"348986780","full_name":"umeshiscreative/av-git-operation","owner":"umeshiscreative","description":"Perform the git-operations in nodeJs.","archived":false,"fork":false,"pushed_at":"2021-03-26T10:06:38.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T18:50:37.975Z","etag":null,"topics":["git","gitcommands","javascript","nodejs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/av-git-operation","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/umeshiscreative.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":"2021-03-18T07:54:39.000Z","updated_at":"2021-07-04T17:33:56.000Z","dependencies_parsed_at":"2022-09-03T12:00:37.452Z","dependency_job_id":null,"html_url":"https://github.com/umeshiscreative/av-git-operation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/umeshiscreative/av-git-operation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umeshiscreative%2Fav-git-operation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umeshiscreative%2Fav-git-operation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umeshiscreative%2Fav-git-operation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umeshiscreative%2Fav-git-operation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umeshiscreative","download_url":"https://codeload.github.com/umeshiscreative/av-git-operation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umeshiscreative%2Fav-git-operation/sbom","scorecard":{"id":908484,"data":{"date":"2025-08-11","repo":{"name":"github.com/umeshiscreative/av-git-operation","commit":"f12561be3ce3657f4e0b7df30ab24fc7b20dfa47"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/umeshiscreative/av-git-operation/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/umeshiscreative/av-git-operation/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/umeshiscreative/av-git-operation/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/umeshiscreative/av-git-operation/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/umeshiscreative/av-git-operation/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/umeshiscreative/av-git-operation/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/umeshiscreative/av-git-operation/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/umeshiscreative/av-git-operation/publish.yml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T18:16:33.085Z","repository_id":53520897,"created_at":"2025-08-24T18:16:33.085Z","updated_at":"2025-08-24T18:16:33.085Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31009858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T01:56:05.093Z","status":"online","status_checked_at":"2026-03-27T02:00:08.055Z","response_time":164,"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","gitcommands","javascript","nodejs"],"created_at":"2024-09-24T18:58:34.764Z","updated_at":"2026-03-27T02:16:56.248Z","avatar_url":"https://github.com/umeshiscreative.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is this?\n\nPerform the git-operations in nodeJs.\n\n# Installation\n\n```\nnpm i av-git-operation --save\n\nOR\n\nyarn add av-git-operation\n```\n\n# Usage\n\n- Import the module\n\n```javascript\nconst gitOperation = require(\"av-git-operation\");\n```\n\n- Clone a repo using\n\n```javascript\ngitOperation.clone(\n  \"YOUR HOST REPO URL\",\n  \"FOLDER PATH WHERE YOU WANT TO PUT REPO\",\n  { checkout: \"Your Branch Name\" },\n  (err) =\u003e {\n    if (err) {\n      throw err;\n    }\n    console.log(\"Cloning Done\");\n  }\n);\n```\n\n- Config the git user\n\n```javascript\ngitOperation.config(\n  \"FOLDER PATH WHERE YOU PUT REPO\",\n  { email: configUserEmail, name: configUserName },\n  (err) =\u003e {\n    if (err) {\n      throw err;\n    }\n    console.log(\"Config Done\");\n  }\n);\n```\n\n- Commit the repo\n\n```javascript\ngitOperation.commit(\n  \"FOLDER PATH WHERE YOU PUT REPO\",\n  { message: commitMessage },\n  (err) =\u003e {\n    if (err) {\n      throw err;\n    }\n    console.log(\"Commit Done\");\n  }\n);\n```\n\n- Push the changes to your repo\n\n```javascript\ngitOperation.push(\n  \"FOLDER PATH WHERE YOU PUT REPO\",\n  { branch: \"Your Branch Name\" },\n  (err) =\u003e {\n    if (err) {\n      throw err;\n    }\n    console.log(\"Push Done\");\n  }\n);\n```\n\n- File change status of your repo\n\n```javascript\ngitOperation.status(\"FOLDER PATH WHERE YOU PUT REPO\", (result, err) =\u003e {\n  if (err) {\n    throw err;\n  }\n  console.log(result);\n});\n```\n\n---\n\n## Options\n\nUse debug to print the useful information.\n\n```javascript\n{\n  debug: true;\n}\n```\n\n---\n\n## ❤️ Contributing\n\nThis is an open source project, so feel free to contribute. How?\n\n- Open an [issue](https://github.com/umeshiscreative/av-git-operation/issues/new).\n- Propose your own fixes, suggestions and open a pull request with the changes.\n\n## Author\n\nUmesh Verma\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumeshiscreative%2Fav-git-operation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumeshiscreative%2Fav-git-operation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumeshiscreative%2Fav-git-operation/lists"}