Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axetroy/fata
基于 Fetch 的优雅而且现代的 HTTP 客户端。Elegant and modern HTTP client based on Fetch
https://github.com/axetroy/fata
Last synced: 7 days ago
JSON representation
基于 Fetch 的优雅而且现代的 HTTP 客户端。Elegant and modern HTTP client based on Fetch
- Host: GitHub
- URL: https://github.com/axetroy/fata
- Owner: axetroy
- License: mit
- Created: 2021-09-09T16:44:26.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T02:57:14.000Z (about 3 years ago)
- Last Synced: 2024-10-11T20:12:21.352Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 139 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
中文简体 | [English](README_en-US.md)
[![Build Status](https://github.com/axetroy/fata/workflows/ci/badge.svg)](https://github.com/axetroy/fata/actions)
基于 Fetch 的优雅的且现代化的 HTTP 客户端
### 安装
```bash
$ npm install @axetroy/fata --save-exact
``````typescript
import fata from '@axetroy/fatafata.get("/api/api/user/{userId}", { path: { userId: 'foo' } })
.then((data) => {
console.log(data)
})
```## 开源许可
The [MIT License](LICENSE)