JSPM

  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q54640F
  • License MIT

A React component to display pinned GitHub repositories

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@karthikgoje/github-pinned-repos) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Usage

    You can provide your GitHub token in one of two ways:

    1. 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.
    2. Set a global variable in your app:

    window.__GITHUB_TOKEN__ = 'your_github_token_here';