1.20.0 • Published 6 years ago

peagit v1.20.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

peagit

Incorporate Git into your Electron application

This is a skunkworks project to make using Git in your Electron application.

To get started: npm install peagit --save

And than reference it in your application:

import { GitProcess, GitError, IGitResult } from 'peagit'

const pathToRepository = 'C:/path/to/git/repository/'

const result = await GitProcss.exec([ 'status' ], pathToRepository)
if (result.exitCode === 0) {
  const version = result.stdout
  // TODO: do some things with version
} else {
  const error = result.stderr
  // TODO: error handling
}

Current features:

  • package Git within your application
  • make it easy to execute Git commands
  • macOS and Windows support

Potential Roadmap:

  • an API for common Git operations
  • Linux support
  • handle authentication and environment setup
  • ???

Contributing

After cloning down this repository, run:

npm install

And then you can create the package yourself:

npm pack
1.20.0

6 years ago

1.19.0

6 years ago

1.18.0

6 years ago

1.17.0

7 years ago

1.15.0

7 years ago

1.16.0

7 years ago

1.14.0

7 years ago

1.13.0

7 years ago

1.12.0

7 years ago

1.11.0

7 years ago

1.10.2

7 years ago

1.10.1

7 years ago

1.10.0

7 years ago

1.9.0

7 years ago

1.8.0

7 years ago

1.7.0

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago