Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpeer264/node-git-needs-pull
Check synchronously if a git repository needs to pull
https://github.com/jpeer264/node-git-needs-pull
git is-git needs-pull nodejs pull
Last synced: about 1 month ago
JSON representation
Check synchronously if a git repository needs to pull
- Host: GitHub
- URL: https://github.com/jpeer264/node-git-needs-pull
- Owner: JPeer264
- License: mit
- Created: 2017-05-15T16:03:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T05:18:30.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T10:01:04.933Z (2 months ago)
- Topics: git, is-git, needs-pull, nodejs, pull
- Language: Shell
- Homepage: https://www.npmjs.com/package/git-needs-pull
- Size: 1.38 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# git-needs-pull
[![Build Status](https://travis-ci.com/JPeer264/node-git-needs-pull.svg?branch=master)](https://travis-ci.com/JPeer264/node-git-needs-pull)
[![Build status](https://ci.appveyor.com/api/projects/status/y3si9db1ynq9mlel/branch/master?svg=true)](https://ci.appveyor.com/project/JPeer264/node-git-needs-pull/branch/master)
[![Coverage Status](https://coveralls.io/repos/github/JPeer264/node-git-needs-pull/badge.svg?branch=master)](https://coveralls.io/github/JPeer264/node-git-needs-pull?branch=master)Check synchronously if a git repository needs to pull.
## Installation
```sh
$ npm i git-needs-pull
```
or
```sh
$ yarn add git-needs-pull
```## Usage
```js
const needsPull = require('git-needs-pull');needsPull(); // true or false of process.cwd()
needsPull('any/git/repo'); // true or false
```## LICENSE
MIT © [Jan Peer Stöcklmair](https://www.jpeer.at)