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

https://github.com/anthinkingcoder/fetch-polyfill

a fetch polyfill(es6 style)
https://github.com/anthinkingcoder/fetch-polyfill

Last synced: 8 months ago
JSON representation

a fetch polyfill(es6 style)

Awesome Lists containing this project

README

          

# fetch-polyfill
> a fetch polyfill(es6 style)

## Installation
* `npm install ywl-fetch --save`;

## Usage
```javascript
import 'ywl-fetch'
fetch('./mock/a.json')
.then(function (response) {
return response.json()
}).then(json => {
console.info(json)
})
```

## Script
```html


fetch('./mock/a.json')
.then(function (response) {
return response.json()
}).then(json => {
console.info(json)
})

```

## Support
> ie10+ or chrome etc.