For when you have to use git in nodejs.
Перейти к файлу
joshaber 5ad922f194 Test getOriginURL too. 2016-04-26 09:39:19 -04:00
lib Give us the name 2016-04-26 09:38:32 -04:00
spec Test getOriginURL too. 2016-04-26 09:39:19 -04:00
.babelrc Use the runtime transform instead of the polyfill. 2016-04-20 22:49:50 -04:00
.gitignore Add nodegit 2016-04-18 16:04:23 -04:00
.npmignore Specifically unignore the type declarations. 2016-04-20 15:14:15 -04:00
.travis.yml Probably don't need these. 2016-04-21 11:08:21 -04:00
README.md Don't need to manually install typings anymore. 2016-04-21 17:10:07 -04:00
package.json Use MIT instead. 2016-04-22 15:41:22 -04:00
tsconfig.json Revert "Test with ava." 2016-04-19 16:20:51 -04:00
tslint.json Get shit popping 2016-04-19 14:56:58 -04:00
typings.json Switch to using jasmine. 2016-04-19 17:26:47 -04:00

README.md

OhNoGit

For when you have to use git in nodejs.

A wrapper around nodegit.

Install

To use:

npm install ohnogit --save
import {Repository} from 'ohnogit'

const repo = Repository.open('path/to/repository')
await repo.refreshStatus()

For development:

git clone https://github.com/github/ohnogit
npm install