@karthikgoje/github-pinned-repos
v1.1.11
Published
A React component to display pinned GitHub repositories
Downloads
2,426
Maintainers
Readme
Usage
You can provide your GitHub token in one of two ways:
Set an environment variable:
- For Create React App projects: Set
REACT_APP_GITHUB_TOKEN
in your.env
file. - For other projects: Set
GITHUB_TOKEN
in your environment.
- For Create React App projects: Set
Set a global variable in your app:
window.__GITHUB_TOKEN__ = 'your_github_token_here';