Installations
npm install github-avatar-url
Developer Guide
Typescript
No
Module System
N/A
Min. Node Version
>= 4
Node Version
4.2.1
NPM Version
4.0.3
Score
57.6
Supply Chain
70.7
Quality
72
Maintenance
50
Vulnerability
99.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
hemanth
Download Statistics
Total Downloads
5,950
Last Day
1
Last Week
6
Last Month
34
Last Year
163
GitHub Statistics
MIT License
8 Stars
15 Commits
2 Forks
3 Watchers
22 Branches
2 Contributors
Updated on Feb 01, 2024
Package Meta Information
Latest Version
2.0.0
Package Id
github-avatar-url@2.0.0
Size
2.41 kB
NPM Version
4.0.3
Node Version
4.2.1
Total Downloads
Cumulative downloads
Total Downloads
5,950
Last Day
-66.7%
1
Compared to previous day
Last Week
-33.3%
6
Compared to previous week
Last Month
183.3%
34
Compared to previous month
Last Year
-93.8%
163
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
3
Dev Dependencies
1
github-avatar-url 
Get github's avatar URL either by
username
or
Install
$ npm install --save github-avatar-url
Usage
1var githubAvatarUrl = require('github-avatar-url'); 2 3githubAvatarUrl('hemanth', {token:'foo'}) 4.then(console.log) 5.catch(console.error) 6 7githubAvatarUrl('hemanth.hm@gmail.com', {token:'foo'}) 8.then(console.log) 9.catch(console.error)
API
githubAvatarUrl(input, [token])
input
Required
Type: string
Either email
or username
token
Type: string
GitHub access token.
Can be overriden globally with the GITHUB_TOKEN
environment variable.
License
MIT © Hemanth.HM

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: license:0
- Info: FSF or OSI recognized license: MIT License: license:0
Reason
Found 3/12 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 6 are checked with a SAST tool
Score
3.3
/10
Last Scanned on 2025-02-17
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More