JSPM

github-repo-topic

0.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q23508F
    • License MIT

    Add or remove a topic to all GitHub repos in an org

    Package Exports

    • github-repo-topic

    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 (github-repo-topic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    github-repo-topic

    Add or remove a topic to every repository in an organisation. Originally build to add the hacktoberfest topic to multiple repositories

    Usage

    You'll need to create a GitHub Token and make it available as GITHUB_TOKEN in your environment

    export GITHUB_TOKEN=xxxxxxxxxxx
    npx github-repo-topic add hacktoberfest --org my-org-name
    npx github-repo-topic remove other-topic --org my-org-name

    Possible improvements

    • Skip private repos
    • Skip archived repos
    • Support non-org accounts