Appearance
npm install requestify.js
Или через yarn:
yarn
yarn add requestify.js
import { HttpClient } from "requestify.js"; const api = new HttpClient({ baseUrl: "https://api.example.com" }); api.get("/users").then(console.log);