This package has been deprecated

Author message:

this package has been deprecated. The new package is published here https://www.npmjs.com/package/check-git

is-git-sync

1.0.2 • Public • Published

is-git-sync

npm version npm

Determines if a git repository exists within a directory

Getting Started

Prerequisites

For this project you need Node installed on your machine with Npm or Yarn

Installing

Open a terminal and type, inside the directory:

npm i is-git-sync
# OR
yarn add is-git-sync

Usage

if(isGitSync(process.cwd())) {
  console.log('Yes dude, there is a git repository')
} else {
  console.log('Sorry dude, there is no git repository is this folder')
}

Built with ❤️ using:

  • Node.js - JavaScript runtime built on Chrome's V8 JavaScript engine.

Contributing

Pull Requests for adding features ⇄ and ★ are welcome 😎

/is-git-sync/

    Package Sidebar

    Install

    npm i is-git-sync

    Weekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    1.58 kB

    Total Files

    3

    Last publish

    Collaborators

    • dj0nny