Native Node bindings to Git.
Node bindings to the libgit2 project. Stable ([email protected]): 0.28.3
Visit slack.libgit2.org to sign up, then join us in #nodegit.
Alex Aveillán @AlexaXs with help from tons of awesome contributors!
Ian Hattendorf @ianhattendorf, John Alden @zawata, Tyler Ang-Wanek @twwanek, Tim Branyen @tbranyen, John Haley @johnhaley81, Max Korp @maxkorp, Steve Smith @orderedlist, Michael Robinson @codeofinterest, and Nick Kallen @nk
NodeGit will work on most systems out-of-the-box without any native dependencies.
npm install nodegitIf you receive errors about libstdc++, which are commonly experienced when building on Travis-CI, you can fix this by upgrading to the latest libstdc++-4.9.
In Ubuntu:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libstdc++-4.9-devIn Travis:
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-4.9-devIn CircleCI:
dependencies:
pre:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get install -y libstdc++-4.9-devIf you receive errors about lifecycleScripts preinstall/install you probably miss libssl-dev In Ubuntu:
sudo apt-get install libssl-devYou will need the following libraries installed on your linux machine:
When building locally, you will also need development packages for kerberos and pcre, so both of these utilities must be present on your machine:
If you are still encountering problems while installing, you should try the Building from source instructions.
……For more examples, check the examples/ folder.
You will need to build locally before running the tests. See above.
npm testNo open issues yet, or sync has not completed.