About
@Bekacru_c finally released version 1 of Better Fetch. It's an advanced fetch wrapper for typescript with zod schema validation, predefined routes, callbacks and so much more. 🔥
Better Fetch
• Better-fetch.vercel.app
Source Code
• github.com/bekacru/better-fetch
It also has one of the most beautifully presented documentations I've seen in the community
• Better-fetch.vercel.app/docs
Doc is made by this tool
• Fumadocs.vercel.app
Simply...
import { betterFetch } from '@better-fetch/fetch';
// Using generic type
const { data, error } = await betterFetch<{
userId: string;
id: number;
title: string;
completed: boolean;
}>("https://jsonplaceholder.typicode.com/todos/1");
Awesome job and congrats on the launch! You already know I'll be using it on my next project like I've been using LogLib 🥳
