Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including go-loader-git with all npm packages installed. Try it out:

var goLoaderGit = require("go-loader-git")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

go-loader-git v3.0.3

Go loader for git repositories


npm Travis Coveralls Vulnerabilities js-standard-style

Go loader for git repositories


$ npm install --global go go-loader-git
$ go git


Go CLI has shortcut for this loader, so you don't need to write git:

$ go


$ go git <repository> [destination] [options]
  • repository — valid git link to a repository
  • destination — folder path to put loaded files (destination folder will be created if it doesn't exist)
  • options:
    • --no-install — do not install boilerplate after loading
    • --keep-git (-k) — do not remove .git/ directory after loading repository
    • --checkout <string> — git reference (tag, branch, etc) to checkout after repository is loaded
    • --depth <number> — truncate history by number of commits
    • --git <string> — path to Git binary


# install boilerplate from Bitbucket to ./sources/new-project
$ go git sources/new-project

# install boilerplate from GitHub to ./path
$ go git


MIT © Stanislav Termosa

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free