Nepotistic Pontifex Maximus

    is-git-check

    1.1.1 • Public • Published

    is-git-check

    Simple module to check whether a directory is a git repository or not

    Installation
    npm install is-git-check
    Usage
    const isGit = require('is-git-check');
     
    // checking current working directory
    isGit(process.cwd()) // returns true or false
    Test
    npm test
    Changelog
    • 1.1.1
      • Update dependencies
    • 1.1.0
      • Added tests
    • 1.0.2
      • added useful comments in code
    • 1.0.1
      • fixed typos in Readme
    • 1.0
      • Initial commit

    Install

    npm i is-git-check

    DownloadsWeekly Downloads

    1

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    2.06 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar