koajax-taro-adapter
v0.1.1
Published
A KoAJAX adapter for mini-app HTTP requests
Downloads
156
Maintainers
Readme
KoAJAX Taro adapter
A KoAJAX adapter for mini-app HTTP requests.
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
- Scaffold: https://github.com/idea2app/Taro-Vant-MobX-ts