Skip to content
Skill

es-fetch-api

by diegosouzapw

AI Summary

es-fetch-api is a lightweight, middleware-based wrapper around the native fetch API that simplifies HTTP requests in JavaScript/TypeScript projects. It benefits developers building Node.js or browser applications who need composable, chainable request handling.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "es-fetch-api" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory (2 files)
mkdir -p .claude/skills/es-fetch-api && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/es-fetch-api/SKILL.md "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/es-fetch-api/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/es-fetch-api/metadata.json "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/es-fetch-api/metadata.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Use this skill when the user's input contains keywords like "es-fetch-api", "fetch wrapper", "http client", "api request", "/use fetch" or when they need to make HTTP requests in a JavaScript/TypeScript project. This skill provides installation guides, usage examples, and best practices.

Overview

es-fetch-api is a lightweight, middleware-based wrapper around the native fetch API. It allows you to compose requests using a chain of middlewares for handling query parameters, request bodies, headers, and more.

es-fetch-api

This skill provides instructions and examples for using the es-fetch-api library.

Installation

To use es-fetch-api in a project, first install it via npm: `bash npm install es-fetch-api `

1. Initialize API Client

Use getApi to create an API client instance with a base URL. `javascript import { getApi } from 'es-fetch-api'; const api = getApi('https://api.example.com'); `

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
0 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Issues0
Updated1mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code