UNPKG

ctan-openapi-fetch

Version:
27 lines (24 loc) 553 B
// lib/search.ts import createFetchClient, { createPathBasedClient as createPathBasedFetchClient } from "openapi-fetch"; // ../ctan-openapi/dist/search.ts var servers = [ { url: "https://ctan.org" } ]; // lib/search.ts var baseUrl = servers[0].url; function createClient(options) { return createFetchClient({ baseUrl, ...options }); } function createPathBasedClient(options) { return createPathBasedFetchClient({ baseUrl, ...options }); } export { baseUrl, createClient, createPathBasedClient }; //# sourceMappingURL=search.js.map