Skip to content
/ fata Public

基于 Fetch 的优雅而且现代的 HTTP 客户端。Elegant and modern HTTP client based on Fetch

License

Notifications You must be signed in to change notification settings

axetroy/fata

Repository files navigation

中文简体 | English

Build Status

基于 Fetch 的优雅的且现代化的 HTTP 客户端

安装

$ npm install @axetroy/fata --save-exact
import fata from '@axetroy/fata

fata.get("/api/api/user/{userId}", { path: { userId: 'foo' } })
  .then((data) => {
    console.log(data)
  })

开源许可

The MIT License

About

基于 Fetch 的优雅而且现代的 HTTP 客户端。Elegant and modern HTTP client based on Fetch

Resources

License

Stars

Watchers

Forks

Packages