Socket
Book a DemoInstallSign in
Socket

@dengqing/mp-axios

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dengqing/mp-axios

支持微信小程序、uniapp的axios库

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

支持uniapp、微信小程序、和原生h5的axios库

安装方式

  • npm install -D mp-axios
  • yarn add mp-axios

使用文档

  • 参考axios文档,使用方式一模一样

小程序的配置

| 小程序有不同配置,新增了enableHttp2、enableQuic、dataType、enableCache配置对应者小程序的参数配置。也缺少了某些设置项,如进度监听,取消请求等等。小程序的取消请求请参考微信官方文档

Keywords

axios

FAQs

Package last updated on 24 Nov 2020

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