change-string-case/node_modules/@octokit/request/dist-src/index.js
Alex Szczuczko d0603cd0a7 npm install
2023-10-25 14:27:07 -06:00

13 lines
332 B
JavaScript

import { endpoint } from "@octokit/endpoint";
import { getUserAgent } from "universal-user-agent";
import { VERSION } from "./version";
import withDefaults from "./with-defaults";
const request = withDefaults(endpoint, {
headers: {
"user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`
}
});
export {
request
};