@mkikets/git-init
v1.0.0
Published
git-init
Downloads
3
Readme
git-init
This is fork from git-init
package
Initialize a new git repository.
Installation
$ npm install @mkikets/git-init
Usage
Callback
const init = require('@mkikets/git-init')
init('./', (err) => {
if (err) throw err
})
Promises
const init = require('@mkikets/git-init').promise
init('./')
.then(()=>{
console.log("initialized")
})
.catch((err) => {
console.error(err);
})