octokit/rest.js
Import the Octokit constructor based on your platform. Now instantiate your octokit API. All options are optional, but authentication is strongly encouraged. You can set auth to a personal access token string. Learn more about authentication. Setting a user agent is required.
https://octokit.github.io/rest.js/v18