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

  • 1.2.2
  • 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 git-command-helper

Features

  • Submodule parser
  • Asynchronous friendly

Installation

Beta Version

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

to update beta version

npm update git-command-helper

Production Version

npm i git-command-helper

Documentation

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 09 May 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