Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.06 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.06 KB

KoAJAX Taro adapter

A KoAJAX adapter for mini-app HTTP requests.

NPM Dependency CI & CD

NPM

Usage

Installation

npm i koajax koajax-taro-adapter

Initialization

import { HTTPClient } from 'koajax';
import { request } from 'koajax-taro-adapter';

export const client = new HTTPClient({ baseRequest: request });

User cases

  1. Scaffold: https://github.com/idea2app/Taro-Vant-MobX-ts