npm-cache-git

I am most of npm's git functionality


Keywords
npm, cache, git
License
BSD-2-Clause
Install
npm install npm-cache-git@0.0.1

Documentation

Build Status

npm-cache-git

Most of the git parts of cache.js

API

.checkGitDir(opts, log, rm, cloneGitRemote, archiveGitRemote, cb)

Checks the status of the git directory, delegates to cloneGitRemote or archiveGitRemote

.cloneGitRemote(opts, log, archiveGitRem, cb)

Runs a git clone, delegates to archiveGitRemote

.archiveGitRemote(opts, log, cb)

Creates a tarball from the git repo, then calls a callback