Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kuitos/es6-http-utils

provide some common http utils,such as request,cache and so on,written by pure ES6(this repo is no longer maintained, u can use https://github.com/mzabriskie/axios instead)
https://github.com/kuitos/es6-http-utils

Last synced: about 2 months ago
JSON representation

provide some common http utils,such as request,cache and so on,written by pure ES6(this repo is no longer maintained, u can use https://github.com/mzabriskie/axios instead)

Awesome Lists containing this project

README

        

### ES6 Http Utils

> (Deprecated!) 目前这个库可能不会有太多时间维护,你可以用这个库来代替 [axios](https://github.com/mzabriskie/axios)

纯ES6实现的Http工具集,无任何框架依赖。同时提供es5兼容版本

#### How to install

```bash
npm install es6-http-utils
```

#### 查看demo

```bash
npm run dev
```

#### Utils

* http 网络请求模块,详见[这里](https://github.com/kuitos/web-fetch-request/tree/master/src/http)
* cache 缓存模块,详见[这里](https://github.com/kuitos/web-fetch-request/tree/master/src/cache)
* data-structure 通用数据结构 详见[这里](https://github.com/kuitos/web-fetch-request/tree/master/src/data-structure)

#### 目录说明
+dist // es5浏览器兼容版本,可以直接script方式引入

+lib // babel版本,CommonJS模块规范,可直接require或import

+src // 源码目录

+demo // 代码用例