Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/egoist/is-following
- Owner: egoist
- License: mit
- Created: 2016-08-17T14:38:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-25T14:14:55.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T12:02:20.863Z (29 days ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
is-following could check
if a user is following another on GitHub..![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)