https://github.com/mathieuschl/github-info
https://github.com/mathieuschl/github-info
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mathieuschl/github-info
- Owner: MathieuSchl
- Created: 2023-12-04T09:54:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T13:04:43.000Z (over 2 years ago)
- Last Synced: 2025-04-05T16:17:58.176Z (about 1 year ago)
- Language: JavaScript
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub-info-inspector
This is an npm package that allows you to get user informations from a username.
## Install
```bash
npm install GitHub-info-inspector
```
## Usage
### Import
Import module like this :
```javascript
const githubInfoInspector = require("github-info-inspector");
```
Create new profile object :
```javascript
const profile = new githubInfoInspector("UserName");
```
### Accessing data
#### User
##### Profile picture
You can access to url of the profile picture of the user :
```javascript
await profile.user.getProfilePicture();
```