Tinka

A dependency-free library to gracefully handle fetch requests.

Small bundle size

Small bundle size

Tinka is a dependency free client, everything is a middleware (yes, literally everything, even the actual fetch which happens is a middleware), you can use what you want, even if you end up wanting everything, it's only 1.7Kb

Written in TypeScript

Written in TypeScript

Npm package ships with type definitions, making it easier for you to write your own SDK client, middleware or simply consuming an API

Maximize productivity

Maximize productivity

A developers job should be building things, not figuring which key is missing in a POST request, generate SDKs for your API, let type definition and SDK make developers life easier, focusing on what's more important.

Middleware support

Middleware support

Middlewares are primary entities for tinka, everything is built on top of middlewares, it comes with a few middlewares included, and it's very easy to write a new middleware.

Very close to actual fetch

Very close to actual fetch

Every step of the way in designing `tinka`, aligning everything to fetch spec was kept in mind, think of `tinka` as fetch on steroids.