your-component-package
v1.0.1
Published
You can provide your GitHub token in one of two ways:
Downloads
73
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';