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
- Host: GitHub
- URL: https://github.com/sunny-117/axios-ts
- Owner: Sunny-117
- Created: 2024-04-09T07:06:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-09T07:43:47.000Z (about 2 years ago)
- Last Synced: 2025-04-05T16:16:27.566Z (about 1 year ago)
- Topics: axios, javascript, request, xmlhttprequest
- Language: HTML
- Homepage: https://sunny-117.github.io/axios-ts/
- Size: 1.46 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Axios-ts
## Features
- 在浏览器端使用 XMLHttpRequest 对象通讯
- 支持 Promise API
- 支持请求和响应的拦截器
- 支持请求数据和响应数据的转换
- 支持请求的取消
- JSON 数据的自动转换
- 客户端防止 XSS