🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@fiado/http-client

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fiado/http-client

Herramienta para realizar solicitudes http

latest
npmnpm
Version
2.0.1
Version published
Weekly downloads
318
22.78%
Maintainers
1
Weekly downloads
 
Created
Source

@fiado/http-client

@fiado/http-client es una librería TypeScript para realizar solicitudes HTTP de manera simplificada y eficiente, con soporte completo para tipado en TypeScript. Se integra perfectamente con InversifyJS para permitir la inyección de dependencias y facilitar el testing y la modularidad.

Características

  • Facilita las solicitudes HTTP con métodos get, post, put, patch, y delete.
  • Tipado fuerte con TypeScript para respuestas esperadas y parámetros de solicitud.
  • Integración sencilla con InversifyJS para la inyección de dependencias.

Instalación

Puedes instalar @fiado/http-client utilizando npm o yarn:

npm install @fiado/http-client

Configuración

import { Container } from "inversify";
import { IHttpRequest, AxiosHttpRequest } from "@fiado/http-client";
import { apiInvokerContainer } from '@fiado/api-invoker';

// Crea el contenedor principal de tu aplicación
const container = new Container();

// Registro del cliente HTTP
container.bind<IHttpRequest>("IHttpRequest").to(AxiosHttpRequest);

// Exporta el contenedor para su uso en toda tu aplicación
export { container };

FAQs

Package last updated on 25 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts