# git-execute

> Utility module over child_process.exec for git commands.

Latest version **0.1.0** (published 2014-05-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-execute
pnpm add git-execute
yarn add git-execute
bun add git-execute
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-05-25 |
| First published | 2014-05-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alexandru Vladutu |
| Maintainers | alessioalex |
| Keywords | git, exec, child_process |

## Links

- npm: https://www.npmjs.com/package/git-execute
- Repository: https://github.com/alessioalex/git-execute
- Issues: https://github.com/alessioalex/git-execute/issues
- npm.io page: https://npm.io/package/git-execute

## Dependencies (1)

- [debug](https://npm.io/package/debug.md) ~0.8.1

## Recent versions

- 0.1.0 (latest) — 2014-05-25

## README

# git-execute

Utility module over `child_process.exec` for git commands.

## Usage

```js
gitExecute(repoPath, execArguments, callback)
```

Example:

```js
var gitExecute = require('git-execute');

// get the total number of commits
gitExecute(repoPath, [
  'rev-list',
  'HEAD',
  '--count'
], function(err, stdout, stderr) {
  if (err) { throw err; }

  console.log(stdout);
});
```

# License

MIT

---
_Source: https://npm.io/package/git-execute · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
