An open API service indexing awesome lists of open source software.

https://github.com/sunny-117/axios-ts

TypeScript 从零实现 axios
https://github.com/sunny-117/axios-ts

axios javascript request xmlhttprequest

Last synced: about 1 year ago
JSON representation

TypeScript 从零实现 axios

Awesome Lists containing this project

README

          

# Axios-ts

## Features

- 在浏览器端使用 XMLHttpRequest 对象通讯
- 支持 Promise API
- 支持请求和响应的拦截器
- 支持请求数据和响应数据的转换
- 支持请求的取消
- JSON 数据的自动转换
- 客户端防止 XSS