1.0.0 • Published 1 year ago

@mkikets/git-init v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

License

MIT

1.0.0

1 year ago