npm.io
1.0.1 • Published 13 years ago

git-credential

Licence
MIT
Version
1.0.1
Deps
0
Vulns
0
Weekly
0

git-credential

A module for accessing git-credentials from a node process. Note that this requires a version of git >= 1.7.12

Usage:

var credential = require("git-credential")

credential(function(err, data){
  if (err) return console.log(err)
  // if you run this it'll print your username and pass to the command line.
  // you might not want that
  console.log(data)
})