Octokit Example Create a .env file in the root of the project with the following content: GITHUB_TOKEN={Your-GitHub-Token} Once created, run the script using node script.js.