dryvPacks

@dryv/ts-api-clientv0.1.5

A framework-free TypeScript API client over fetch, with typed models and one call per operation.

TypeScript API ClientClientsUnitPublished 7 days ago2 downloads

dryv pack add @dryv/ts-api-client
380 BRaw ↗
jinja
export type { GeoJson } from "{{ pack.inputs.package_name }}/geo-json";
export { type ApiConfig, type ApiResult, type RequestOptions, configureApi, request, requestBlob } from "./transport.ts";
{%- for item in file.exports %}
export * from "{{ (item.path.prefixed or pack.inputs.package_name ~ "/" ~ (item.path.pack | replace("src/", ""))) | replace(".ts", "") }}";
{%- endfor %}