Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/kuitos/es6-http-utils
- Owner: kuitos
- Created: 2015-09-30T07:39:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-30T06:33:57.000Z (almost 8 years ago)
- Last Synced: 2024-06-03T17:52:03.125Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 196 KB
- Stars: 12
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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 // 代码用例