Skip to content
A small node utility that grabs a GitHub repo and downloads it into a directory.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
README.md
index.js
package.json

README.md

Install

Build Status

npm install fetch-github-repo

API

JavaScript

var FetchGithubRepo, callback;

FetchGithubRepo = require("fetch-github-repo");

callback = function(err) {};

FetchGithubRepo.download({
  organization: 'ferentchak',
  repo: "ferentchak.github.com",
  path: "."
}, callback);

Coffee

FetchGithubRepo = require "fetch-github-repo"
callback = (err)->
FetchGithubRepo.download
  organization:'ferentchak'
  repo : "ferentchak.github.com",
  path: "."
  callback

Run Tests

To run the tests: npm test

Something went wrong with that request. Please try again.