{"library":"build-plugin-ice-request","type":"library","category":null,"description":"build-plugin-ice-request is a core plugin for the Ice.js (now often `@ice/app`) framework, designed to standardize and enhance network request handling within Ice.js applications. It facilitates global configuration of HTTP requests, leveraging an Axios-compatible interface. This includes setting up base URLs, timeouts, and defining request and response interceptors for global error handling, authentication, and data transformation. The plugin integrates deeply into the Ice.js runtime, exposing `request` (imperative) and `useRequest` (React hook) APIs for components to interact with the configured request service. The current stable version is `2.0.1`, with updates and compatibility closely tied to the frequent release cycle of the `@ice/app` framework (e.g., v3.x series). Its primary differentiator is its seamless integration into the Ice.js build and runtime, providing a consistent and configurable request layer across the application.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install build-plugin-ice-request","imports":["import { request } from 'ice'","import { useRequest } from 'ice'","import { runApp } from 'ice'","import { defineConfig } from '@ice/app'"]},{"cmd":"yarn add build-plugin-ice-request","imports":[]},{"cmd":"pnpm add build-plugin-ice-request","imports":[]}],"homepage":"https://ice.taobao.org","github":"https://github.com/alibaba/ice","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/build-plugin-ice-request","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/build-plugin-ice-request/compatibility"}}