git-credential

1.0.1 • Public • Published

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)
})

/git-credential/

    Package Sidebar

    Install

    npm i git-credential

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • andrewwinterman