Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/egoist/is-following

Check if a user is following another on GitHub
https://github.com/egoist/is-following

Last synced: 17 days ago
JSON representation

Check if a user is following another on GitHub

Awesome Lists containing this project

README

        



is-following could check
if a user is following another on GitHub..


NPM version
NPM downloads
Build Status

![preview](https://ooo.0o0.ooo/2016/08/17/57b477fab6fff.png)

## Install

```bash
$ npm install -g is-following
```

## Usage

```bash
$ is-following tj sindresorhus
# Oops... tj is not following sindresorhus.
```

## API

```bash
$ npm install --save is-following
```

### Usage

```js
const isFollowing = require('is-following')

isFollowing('user', 'targetUser')
.then(following => {
console.log(following) // true or false
})
```

## License

MIT © [EGOIST](https://github.com/egoist)