New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

git-command-helper

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-command-helper

github command helper for nodejs

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29
increased by45%
Maintainers
1
Weekly downloads
 
Created
Source

git-command-helper

GitHub CLI Helper For NodeJS. Parse responses from github CLI to NodeJS Object Oriented Programming (OOP).

npm version npm - Known Vulnerabilities github - Known Vulnerabilities

Features

  • Submodule parser
  • Asynchronous friendly
  • Git Conventional Commit Helpers

Installation

npm i git-command-helper

Beta Version

npm i git-command-helper@https://github.com/dimaslanjaka/git-command-helper.git

CLI usages

Conventional Commits Helper

rename cli to chore|feat|refactor|fix

cli "header" "commit message line 2" "commit message line 3"
cli -s scopename "header" "commit message line 2" "commit message line 3"
cli -s scopename "message \`code\` another message"

Documentations

Usages

Example

import git from 'git-command-helper' // const git = require('git-command-helper').default
// start current dir
const github = new git(__dirname)
// get current status
git.status().then(console.log)
// get submodule informations
if (git.submodule.hasSubmodule()) console.log(git.submodule.get());

Custom Command

github.spawn('git', ['fetch'], { stdio: 'pipe' }).then(console.log)

Another Examples

Keywords

FAQs

Package last updated on 05 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc