axios-multi-api
Fast, lightweight and reusable data fetching
Fast, lightweight and reusable data fetching
一个api封装解析器
[npm-url]: https://npmjs.org/package/twin.utils [npm-image]: http://img.shields.io/npm/v/twin.utils.svg
Simple Handler is a lightweight and flexible utility wrapper, heavily inspired by tRPC, designed for use in my personal projects. It provides an easy way to create and manage handlers with schema validation (powered by Zod) and middleware support for adva
The package uses axios library to request APIs and uses local-storage for tokens (auth & refresh).
<div align="center"> <img src="./docs/logo.png" alt="logo" width="380"/>