node-git-cache

1.0.9 • Public • Published

node-git-cache

A basic git clone and cache (using this term loosely) tool for nodejs.

Basic usage would be as follow.

var gTools = require('node-git-cache')({
  repositories: ['dewwwald/tiny-test-repo'],
  branch: 'master',
  destination: __dirname+'/app/.tmp'
});
 
gTools.clone(function () {
  console.log('Copying is complete');
});

TODO

  • We still need to make this structure better (maybe use promises)
  • Make clone and copy chainable
  • Improve structure where possible

Feedback

This was my first attempt at writing a Node plugin. Please provide feedback and report issues on the github issue tracker.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.94latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.94
1.0.80
1.0.70
1.0.60
1.0.50
1.0.4-b0
1.0.4-a0
1.0.40
1.0.3-a0
1.0.30
1.0.20
1.0.10
1.0.0-b0
1.0.0-a0
1.0.00

Package Sidebar

Install

npm i node-git-cache

Weekly Downloads

4

Version

1.0.9

License

ISC

Last publish

Collaborators

  • dewwwald