UNPKG

@octokit/auth-token

Version:

GitHub API token authentication for browsers and Node.js

7 lines (6 loc) 183 B
/** * Prefix token for usage in the Authorization header * * @param token OAuth token or JSON Web Token */ export declare function withAuthorizationPrefix(token: string): string;